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 MBeanServerMBean server.protected final List<ObjectName>Vector of request processors object names.protected static final StringManagerThe 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 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 jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, serviceMethods 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:
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:
-
handleNotification
- Specified by:
handleNotificationin interfaceNotificationListener
-