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 SummaryFieldsModifier and TypeFieldDescriptionprotected final Vector<ObjectName>Vector of global request processors object names.protected MBeanServerMBean server.protected final Vector<ObjectName>Vector of protocol handlers object names.protected final Vector<ObjectName>Vector of request processors object names.protected static final StringManagerThe string manager for this package.protected final Vector<ObjectName>Vector of thread pools object names.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddestroy()Finalize this servlet.voiddoGet(HttpServletRequest request, HttpServletResponse response) Process a GET request for the specified resource.voidhandleNotification(Notification notification, Object handback) voidinit()Initialize this servlet.Methods inherited from class javax.servlet.http.HttpServletdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServletgetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Field Details- 
mBeanServerMBean server.
- 
protocolHandlersVector of protocol handlers object names.
- 
threadPoolsVector of thread pools object names.
- 
requestProcessorsVector of request processors object names.
- 
globalRequestProcessorsVector of global request processors object names.
- 
smThe string manager for this package.
 
- 
- 
Constructor Details- 
StatusManagerServletpublic StatusManagerServlet()
 
- 
- 
Method Details- 
initInitialize this servlet.- Overrides:
- initin class- GenericServlet
- Throws:
- ServletException- if an exception occurs that interrupts the servlet's normal operation
 
- 
destroypublic void destroy()Finalize this servlet.- Specified by:
- destroyin interface- Servlet
- Overrides:
- destroyin class- GenericServlet
 
- 
doGetpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException Process a GET request for the specified resource.- Overrides:
- doGetin class- HttpServlet
- Parameters:
- request- The servlet request we are processing
- response- The servlet response we are creating
- Throws:
- IOException- if an input/output error occurs
- ServletException- if a servlet-specified error occurs
- See Also:
 
- 
handleNotification- Specified by:
- handleNotificationin interface- NotificationListener
 
 
-