Package org.apache.catalina.manager
Class StatusManagerServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.catalina.manager.StatusManagerServlet
- All Implemented Interfaces:
Servlet
,ServletConfig
,Serializable
,EventListener
,NotificationListener
This servlet will display a complete status of the HTTP/1.1 connector.
- Author:
- Remy Maucherat
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List
<ObjectName> Vector of global request processors object names.protected MBeanServer
MBean server.protected final List
<ObjectName> Vector of request processors object names.protected static final StringManager
The string manager for this package.protected final List
<ObjectName> Vector of thread pools object names.Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
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 jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, service
Methods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Field Details
-
mBeanServer
MBean server. -
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
-