|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opennms.web.event.BaseAcknowledgeServlet
public abstract class BaseAcknowledgeServlet
Abstract BaseAcknowledgeServlet class.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
BaseAcknowledgeServlet()
Constructor for BaseAcknowledgeServlet. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ACKNOWLEDGE_ACTION
ACKNOWLEDGE_ACTION="1"
public static final String UNACKNOWLEDGE_ACTION
UNACKNOWLEDGE_ACTION="2"
protected String redirectSuccess
| Constructor Detail |
|---|
public BaseAcknowledgeServlet()
Constructor for BaseAcknowledgeServlet.
| Method Detail |
|---|
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.GenericServletjavax.servlet.ServletException - if any.protected String getRedirectString(javax.servlet.http.HttpServletRequest request)
request - a HttpServletRequest object.
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||