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
public class StatusManagerServlet extends HttpServlet implements NotificationListener
This servlet will display a complete status of the HTTP/1.1 connector.- Author:
- Remy Maucherat
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Vector<ObjectName>globalRequestProcessorsVector of global request processors object names.protected MBeanServermBeanServerMBean server.protected Vector<ObjectName>protocolHandlersDeprecated.Unused.protected Vector<ObjectName>requestProcessorsVector of request processors object names.protected static StringManagersmThe string manager for this package.protected Vector<ObjectName>threadPoolsVector of thread pools object names.
-
Constructor Summary
Constructors Constructor Description StatusManagerServlet()
-
Method Summary
All 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(Notification notification, Object handback)voidinit()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 Detail
-
mBeanServer
protected MBeanServer mBeanServer
MBean server.
-
protocolHandlers
@Deprecated protected final Vector<ObjectName> protocolHandlers
Deprecated.Unused. Will be removed in Tomcat 10.1.xVector of protocol handlers object names.
-
threadPools
protected final Vector<ObjectName> threadPools
Vector of thread pools object names.
-
requestProcessors
protected final Vector<ObjectName> requestProcessors
Vector of request processors object names.
-
globalRequestProcessors
protected final Vector<ObjectName> globalRequestProcessors
Vector of global request processors object names.
-
sm
protected static final StringManager sm
The string manager for this package.
-
-
Method Detail
-
init
public void init() throws ServletExceptionInitialize this servlet.- Overrides:
initin classGenericServlet- Throws:
ServletException- if an exception occurs that interrupts the servlet's normal operation
-
destroy
public void destroy()
Finalize this servlet.- Specified by:
destroyin interfaceServlet- Overrides:
destroyin classGenericServlet
-
doGet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
Process a GET request for the specified resource.- Overrides:
doGetin 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:
ServletResponse.setContentType(java.lang.String)
-
handleNotification
public void handleNotification(Notification notification, Object handback)
- Specified by:
handleNotificationin interfaceNotificationListener
-
-