public class AdminServlet
extends javax.servlet.http.HttpServlet
<servlet> <servlet-name>Admin</servlet-name> <servlet-class>org.logicalcobwebs.proxool.admin.servlet.AdminServlet</servlet-class> <init-param> <param-name>output</param-name> <param-value>full|simple</param-value> </init-param> <init-param> <param-name>cssFile</param-name> <param-value>/my_path/my.css</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>Admin</servlet-name> <url-pattern>/proxool</url-pattern> </servlet-mapping>Options:
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
OUTPUT_FULL |
OUtput full HTML including <HTML>, <HEAD> and <BODY> tags.
|
static java.lang.String |
OUTPUT_SIMPLE |
OUtput simple HTML excluding <HTML>, <HEAD> and <BODY> tags.
|
Constructor | Description |
---|---|
AdminServlet() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Show the details for a pool.
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
|
void |
init(javax.servlet.ServletConfig servletConfig) |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public static final java.lang.String OUTPUT_FULL
output
,
configuration
,
Constant Field Valuespublic static final java.lang.String OUTPUT_SIMPLE
output
,
configuration
,
Constant Field Valuespublic void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException