Package org.opennms.web.admin.discovery
Class ActionDiscoveryServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.opennms.web.admin.discovery.ActionDiscoveryServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ActionDiscoveryServlet extends javax.servlet.http.HttpServlet
A servlet that handles updating the status of the notifications- Author:
- Jason Johns, OpenNMS
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTRIBUTE_DISCOVERY_CONFIGURATION
-
Constructor Summary
Constructors Constructor Description ActionDiscoveryServlet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
ATTRIBUTE_DISCOVERY_CONFIGURATION
public static final String ATTRIBUTE_DISCOVERY_CONFIGURATION
-
-
Method Detail
-
getDiscoveryConfig
public static DiscoveryConfiguration getDiscoveryConfig() throws javax.servlet.ServletException
getDiscoveryConfig
- Returns:
- a
DiscoveryConfiguration
object. - Throws:
javax.servlet.ServletException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
doPost
in classjavax.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 classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
-