OpenNMS API 1.2.3

org.opennms.web.admin.nodeManagement
Class GetNodesServlet

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

public class GetNodesServlet
extends javax.servlet.http.HttpServlet

A servlet that handles querying the database for node, interface, service combinations

Author:
Jason Johns , OpenNMS
See Also:
Serialized Form

Field Summary
private static java.lang.String INTERFACE_QUERY
           
private static java.lang.String SERVICE_QUERY
           
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
GetNodesServlet()
           
 
Method Summary
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
private  java.util.List getAllNodes(javax.servlet.http.HttpSession userSession)
           
 void 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
 

Field Detail

INTERFACE_QUERY

private static final java.lang.String INTERFACE_QUERY
See Also:
Constant Field Values

SERVICE_QUERY

private static final java.lang.String SERVICE_QUERY
See Also:
Constant Field Values
Constructor Detail

GetNodesServlet

public GetNodesServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

getAllNodes

private java.util.List getAllNodes(javax.servlet.http.HttpSession userSession)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

OpenNMS API 1.2.3

Generated by eevans on May 29 2005 2015.