|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.apache.catalina.manager.StatusManagerServlet
public class StatusManagerServlet
This servlet will display a complete status of the HTTP/1.1 connector.
Field Summary | |
---|---|
protected Vector<ObjectName> |
globalRequestProcessors
Vector of global request processors object names. |
protected MBeanServer |
mBeanServer
MBean server. |
protected Vector<ObjectName> |
protocolHandlers
Vector of protocol handlers object names. |
protected Vector<ObjectName> |
requestProcessors
Vector of request processors object names. |
protected static StringManager |
sm
The string manager for this package. |
protected Vector<ObjectName> |
threadPools
Vector of thread pools object names. |
Constructor Summary | |
---|---|
StatusManagerServlet()
|
Method Summary | |
---|---|
void |
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 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MBeanServer mBeanServer
protected Vector<ObjectName> protocolHandlers
protected Vector<ObjectName> threadPools
protected Vector<ObjectName> requestProcessors
protected Vector<ObjectName> globalRequestProcessors
protected static final StringManager sm
Constructor Detail |
---|
public StatusManagerServlet()
Method Detail |
---|
public void init() throws ServletException
init
in class GenericServlet
ServletException
- if an exception occurs that interrupts the servlet's
normal operationpublic void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
doGet
in class HttpServlet
request
- The servlet request we are processingresponse
- The servlet response we are creating
IOException
- if an input/output error occurs
ServletException
- if a servlet-specified error occursServletResponse.setContentType(java.lang.String)
public void handleNotification(Notification notification, Object handback)
handleNotification
in interface NotificationListener
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |