Package org.apache.catalina.manager
Class StatusManagerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.catalina.manager.StatusManagerServlet
- All Implemented Interfaces:
Serializable
,EventListener
,NotificationListener
,Servlet
,ServletConfig
This servlet will display a complete status of the HTTP/1.1 connector.
- Author:
- Remy Maucherat
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Vector<ObjectName>
Vector of global request processors object names.protected MBeanServer
MBean server.protected final Vector<ObjectName>
Vector of protocol handlers object names.protected final Vector<ObjectName>
Vector of request processors object names.protected static final StringManager
The string manager for this package.protected final Vector<ObjectName>
Vector of thread pools object names. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Finalize this servlet.void
doGet
(HttpServletRequest request, HttpServletResponse response) Process a GET request for the specified resource.void
handleNotification
(Notification notification, Object handback) void
init()
Initialize this servlet.Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
mBeanServer
MBean server. -
protocolHandlers
Vector of protocol handlers object names. -
threadPools
Vector of thread pools object names. -
requestProcessors
Vector of request processors object names. -
globalRequestProcessors
Vector of global request processors object names. -
sm
The string manager for this package.
-
-
Constructor Details
-
StatusManagerServlet
public StatusManagerServlet()
-
-
Method Details
-
init
Initialize this servlet.- Overrides:
init
in classGenericServlet
- Throws:
ServletException
- if an exception occurs that interrupts the servlet's normal operation
-
destroy
public void destroy()Finalize this servlet.- Specified by:
destroy
in interfaceServlet
- Overrides:
destroy
in classGenericServlet
-
doGet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException Process a GET request for the specified resource.- Overrides:
doGet
in classHttpServlet
- Parameters:
request
- The servlet request we are processingresponse
- The servlet response we are creating- Throws:
IOException
- if an input/output error occursServletException
- if a servlet-specified error occurs- See Also:
-
handleNotification
- Specified by:
handleNotification
in interfaceNotificationListener
-