org.opennms.web.event
Class AcknowledgeEventServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.opennms.web.event.BaseAcknowledgeServlet
              extended by org.opennms.web.event.AcknowledgeEventServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class AcknowledgeEventServlet
extends BaseAcknowledgeServlet

This servlet receives an HTTP POST with a list of events to acknowledge or unacknowledge, and then it redirects the client to a URL for display. The target URL is configurable in the servlet config (web.xml file).

Author:
Lawrence Karnowski , OpenNMS
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.opennms.web.event.BaseAcknowledgeServlet
ACKNOWLEDGE_ACTION, redirectSuccess, UNACKNOWLEDGE_ACTION
 
Constructor Summary
AcknowledgeEventServlet()
           
 
Method Summary
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Acknowledge the events specified in the POST and then redirect the client to an appropriate URL for display.
 
Methods inherited from class org.opennms.web.event.BaseAcknowledgeServlet
getRedirectString, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, 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
 

Constructor Detail

AcknowledgeEventServlet

public AcknowledgeEventServlet()
Method Detail

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Acknowledge the events specified in the POST and then redirect the client to an appropriate URL for display.

Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException


Copyright ? 2008. All Rights Reserved.