org.opennms.web.event
Class BaseAcknowledgeServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opennms.web.event.BaseAcknowledgeServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public abstract class BaseAcknowledgeServlet
- extends HttpServlet
- See Also:
- Serialized Form
|
Method Summary |
protected String |
getRedirectString(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACKNOWLEDGE_ACTION
public static final String ACKNOWLEDGE_ACTION
- See Also:
- Constant Field Values
UNACKNOWLEDGE_ACTION
public static final String UNACKNOWLEDGE_ACTION
- See Also:
- Constant Field Values
redirectSuccess
protected String redirectSuccess
- The URL to redirect the client to in case of success.
BaseAcknowledgeServlet
public BaseAcknowledgeServlet()
init
public void init()
throws ServletException
- Looks up the
dispath.success parameter in the servlet's
config. If not present, this servlet will throw an exception so it will
be marked unavailable.
- Overrides:
init in class GenericServlet
- Throws:
ServletException
getRedirectString
protected String getRedirectString(HttpServletRequest request)
- Convenience method for dynamically creating the redirect URL if
necessary.
Copyright © 2009. All Rights Reserved.