OpenNMS API 1.2.3

org.opennms.web.outage
Class OutageQueryServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.opennms.web.outage.OutageQueryServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class OutageQueryServlet
extends javax.servlet.http.HttpServlet

A servlet that handles querying the outages table and and then forwards the query's result to a JSP for display.

Author:
Lawrence Karnowski , OpenNMS
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
OutageQueryServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Parses the query string to determine what type of outage query to perform (for example, what to filter on or sort by), then does the database query (through the OutageFactory) and then forwards the results to a JSP for display.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutageQueryServlet

public OutageQueryServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Parses the query string to determine what type of outage query to perform (for example, what to filter on or sort by), then does the database query (through the OutageFactory) and then forwards the results to a JSP for display.

Sets the notices and parms request attributes for the forwardee JSP (or whatever gets called).

Throws:
javax.servlet.ServletException
java.io.IOException

OpenNMS API 1.2.3

Generated by eevans on May 29 2005 2015.