public class ResinStatusServlet extends GenericServlet
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
log |
| Constructor and Description |
|---|
ResinStatusServlet() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toStringpublic void setEnable(java.lang.String enable)
throws ConfigException
ConfigExceptionpublic void init()
throws ServletException
init in class GenericServletServletExceptionpublic void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
request - request information. Normally servlets will cast this
to HttpServletRequestresponse - response information. Normally servlets will cast this
to HttpServletRequestjava.io.IOExceptionServletExceptionpublic void printHeader(java.io.PrintWriter out)
throws java.io.IOException,
ServletException
java.io.IOExceptionServletExceptionpublic void printServerHeader(java.io.PrintWriter out)
throws java.lang.Exception
java.lang.Exceptionpublic void printThreadHeader(java.io.PrintWriter out)
throws java.lang.Exception
java.lang.Exceptionpublic void printPorts(java.io.PrintWriter out)
throws java.io.IOException,
ServletException
java.io.IOExceptionServletExceptionpublic void printSrun(java.io.PrintWriter out)
throws java.io.IOException,
ServletException
java.io.IOExceptionServletExceptionpublic void printConnectionPools(java.io.PrintWriter out,
java.lang.String context)
throws java.lang.Exception
java.lang.Exceptionpublic void printApplicationSummary(java.io.PrintWriter out,
java.lang.String pwd)
throws java.lang.Exception
java.lang.Exceptionpublic void printVirtualHosts(java.io.PrintWriter out)
throws java.io.IOException,
ServletException
java.io.IOExceptionServletExceptionpublic void printFooter(java.io.PrintWriter out)
throws java.io.IOException,
ServletException
java.io.IOExceptionServletException