public abstract class BaseAcknowledgeServlet
extends javax.servlet.http.HttpServlet
Abstract BaseAcknowledgeServlet class.
Modifier and Type | Field and Description |
---|---|
static String |
ACKNOWLEDGE_ACTION
Constant
ACKNOWLEDGE_ACTION="1" |
protected String |
redirectSuccess
The URL to redirect the client to in case of success.
|
static String |
UNACKNOWLEDGE_ACTION
Constant
UNACKNOWLEDGE_ACTION="2" |
Constructor and Description |
---|
BaseAcknowledgeServlet()
Constructor for BaseAcknowledgeServlet.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getRedirectString(javax.servlet.http.HttpServletRequest request)
Convenience method for dynamically creating the redirect URL if
necessary.
|
void |
init()
Looks up the
dispath.success parameter in the servlet's
config. |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final String ACKNOWLEDGE_ACTION
ACKNOWLEDGE_ACTION="1"
public static final String UNACKNOWLEDGE_ACTION
UNACKNOWLEDGE_ACTION="2"
protected String redirectSuccess
public BaseAcknowledgeServlet()
Constructor for BaseAcknowledgeServlet.
public void init() throws javax.servlet.ServletException
dispath.success
parameter in the servlet's
config. If not present, this servlet will throw an exception so it will
be marked unavailable.init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
- if any.Copyright © 2017. All rights reserved.