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:
- java.io.Serializable,- java.util.EventListener,- javax.management.NotificationListener,- Servlet,- ServletConfig
 
 public class StatusManagerServlet extends HttpServlet implements javax.management.NotificationListener This servlet will display a complete status of the HTTP/1.1 connector.- Author:
- Remy Maucherat
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.Vector<javax.management.ObjectName>globalRequestProcessorsVector of global request processors object names.protected javax.management.MBeanServermBeanServerMBean server.protected java.util.Vector<javax.management.ObjectName>protocolHandlersDeprecated.Unused.protected java.util.Vector<javax.management.ObjectName>requestProcessorsVector of request processors object names.protected static StringManagersmThe string manager for this package.protected java.util.Vector<javax.management.ObjectName>threadPoolsVector of thread pools object names.
 - 
Constructor SummaryConstructors Constructor Description StatusManagerServlet()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Finalize this servlet.voiddoGet(HttpServletRequest request, HttpServletResponse response)Process a GET request for the specified resource.voidhandleNotification(javax.management.Notification notification, java.lang.Object handback)voidinit()Initialize this servlet.- 
Methods inherited from class javax.servlet.http.HttpServletdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 - 
Methods inherited from class javax.servlet.GenericServletgetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
- 
 
- 
- 
- 
Field Detail- 
mBeanServerprotected javax.management.MBeanServer mBeanServer MBean server.
 - 
protocolHandlers@Deprecated protected final java.util.Vector<javax.management.ObjectName> protocolHandlers Deprecated.Unused. Will be removed in Tomcat 10.1.xVector of protocol handlers object names.
 - 
threadPoolsprotected final java.util.Vector<javax.management.ObjectName> threadPools Vector of thread pools object names.
 - 
requestProcessorsprotected final java.util.Vector<javax.management.ObjectName> requestProcessors Vector of request processors object names.
 - 
globalRequestProcessorsprotected final java.util.Vector<javax.management.ObjectName> globalRequestProcessors Vector of global request processors object names.
 - 
smprotected static final StringManager sm The string manager for this package.
 
- 
 - 
Method Detail- 
initpublic void init() throws ServletExceptionInitialize 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 java.io.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:
- java.io.IOException- if an input/output error occurs
- ServletException- if a servlet-specified error occurs
- See Also:
- ServletResponse.setContentType(java.lang.String)
 
 - 
handleNotificationpublic void handleNotification(javax.management.Notification notification, java.lang.Object handback)- Specified by:
- handleNotificationin interface- javax.management.NotificationListener
 
 
- 
 
-