|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
com.caucho.servlets.ResinStatusServlet
public class ResinStatusServlet
Displays some status information about the Resin server. The servlet must be explicitly enabled (using /servlet is forbidden), and it must have the init-param enable set to "read" or "write". (There will likely be a future additional requirement of satisfying a role.)
Field Summary | |
---|---|
protected static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
ResinStatusServlet()
|
Method Summary | |
---|---|
void |
init()
Initialize the servlet with the server's sruns. |
void |
printApplicationSummary(java.io.PrintWriter out,
java.lang.String pwd)
|
void |
printConnectionPools(java.io.PrintWriter out,
java.lang.String context)
|
void |
printFooter(java.io.PrintWriter out)
Prints footer information. |
void |
printHeader(java.io.PrintWriter out)
Prints generic server information. |
void |
printPorts(java.io.PrintWriter out)
Prints application information. |
void |
printServerHeader(java.io.PrintWriter out)
Prints server information. |
void |
printSrun(java.io.PrintWriter out)
|
void |
printThreadHeader(java.io.PrintWriter out)
Prints thread information. |
void |
printVirtualHosts(java.io.PrintWriter out)
|
void |
service(ServletRequest request,
ServletResponse response)
Handle the request. |
void |
setEnable(java.lang.String enable)
Set to read or write. |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.util.logging.Logger log
Constructor Detail |
---|
public ResinStatusServlet()
Method Detail |
---|
public void setEnable(java.lang.String enable) throws ConfigException
ConfigException
public void init() throws ServletException
init
in class GenericServlet
ServletException
public void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
java.io.IOException
ServletException
public void printHeader(java.io.PrintWriter out) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void printServerHeader(java.io.PrintWriter out) throws java.lang.Exception
java.lang.Exception
public void printThreadHeader(java.io.PrintWriter out) throws java.lang.Exception
java.lang.Exception
public void printPorts(java.io.PrintWriter out) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void printSrun(java.io.PrintWriter out) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void printConnectionPools(java.io.PrintWriter out, java.lang.String context) throws java.lang.Exception
java.lang.Exception
public void printApplicationSummary(java.io.PrintWriter out, java.lang.String pwd) throws java.lang.Exception
java.lang.Exception
public void printVirtualHosts(java.io.PrintWriter out) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void printFooter(java.io.PrintWriter out) throws java.io.IOException, ServletException
java.io.IOException
ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |