org.opennms.web.admin.discovery
Class ModifyDiscoveryConfigurationServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.opennms.web.admin.discovery.ModifyDiscoveryConfigurationServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ModifyDiscoveryConfigurationServlet
extends javax.servlet.http.HttpServlet

A servlet that handles updating the status of the notifications

Since:
1.8.1
Version:
$Id: $
Author:
Jason Johns , OpenNMS , Jason Johns , OpenNMS
See Also:
Serialized Form

Field Summary
protected static ThreadCategory log
          Constant log
 
Constructor Summary
ModifyDiscoveryConfigurationServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          
static DiscoveryConfiguration getDiscoveryConfig()
          getDiscoveryConfig
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, 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
 

Field Detail

log

protected static ThreadCategory log
Constant log

Constructor Detail

ModifyDiscoveryConfigurationServlet

public ModifyDiscoveryConfigurationServlet()
Method Detail

doPost

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

Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

doGet

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

Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

getDiscoveryConfig

public static DiscoveryConfiguration getDiscoveryConfig()

getDiscoveryConfig

Returns:
a DiscoveryConfiguration object.


Copyright © 2011. All Rights Reserved.