OpenNMS API 1.2.3

org.opennms.web.admin.nodeManagement
Class SnmpGetInterfacesServlet

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

public class SnmpGetInterfacesServlet
extends javax.servlet.http.HttpServlet

A servlet that handles querying the database for node, interface, service combinations for use in setting up SNMP data collection per interface

Author:
Tarus Balog , OpenNMS
See Also:
Serialized Form

Field Summary
private static java.lang.String INTERFACE_QUERY
           
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
SnmpGetInterfacesServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
private  java.util.List getNodeInterfaces(javax.servlet.http.HttpSession userSession, int nodeid)
           
 void init()
           
 
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, 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
Constructor Detail

SnmpGetInterfacesServlet

public SnmpGetInterfacesServlet()
Method Detail

init

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

doGet

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

getNodeInterfaces

private java.util.List getNodeInterfaces(javax.servlet.http.HttpSession userSession,
                                         int nodeid)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

OpenNMS API 1.2.3

Generated by eevans on May 29 2005 2015.