Package net.bull.javamelody
Class CollectorServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
net.bull.javamelody.CollectorServlet
- All Implemented Interfaces:
Servlet,ServletConfig,Serializable
Servlet de collecte utilisée uniquement pour le serveur de collecte (
CollectorServer) séparé de l'application monitorée.- Author:
- Emeric Vernat
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCollectorApplication(String application, String urls) voiddestroy()protected voiddoGet(HttpServletRequest req, HttpServletResponse resp) protected voiddoPost(HttpServletRequest req, HttpServletResponse resp) voidinit(ServletConfig config) static voidremoveCollectorApplication(String application) Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
CollectorServlet
public CollectorServlet()
-
-
Method Details
-
init
- Specified by:
initin interfaceServlet- Overrides:
initin classGenericServlet- Throws:
ServletException
-
doGet
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doGetin classHttpServlet- Throws:
ServletExceptionIOException
-
doPost
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doPostin classHttpServlet- Throws:
ServletExceptionIOException
-
destroy
public void destroy()- Specified by:
destroyin interfaceServlet- Overrides:
destroyin classGenericServlet
-
addCollectorApplication
- Throws:
IOException
-
removeCollectorApplication
- Throws:
IOException
-