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, toString
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