org.logicalcobwebs.proxool.admin.servlet
类 AdminServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.logicalcobwebs.proxool.admin.servlet.AdminServlet
- 所有已实现的接口:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class AdminServlet
- extends javax.servlet.http.HttpServlet
Use this to admin each pool within Proxool. It acts like a normal
servlet., so just configure it within your web app as you see fit.
For example, within web.xml:
<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:
- output: full|simple. "full" means with HTML header and body tags "simple" means
just the HTML. Choose "simple" if you are including this servlet within your own
web page. Note that if you choose simple output then you're probably going to want
to consider supplying some CSS to make it look nice.
- cssFile: If you choose full output (see above) then some CSS is included, inline,
in the HTML header. If you specify a URL here then that file is also linked to. It is
linked after the inline CSS so you only have to override thos styles you want to be
different.
- 从以下版本开始:
- Proxool 0.7
- 版本:
- $Revision: 1.16 $, $Date: 2007/12/14 23:20:41 $
- 作者:
- bill, $Author: billhorsman $ (current maintainer)
- 另请参见:
- 序列化表格
| 从类 javax.servlet.http.HttpServlet 继承的方法 |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| 从类 javax.servlet.GenericServlet 继承的方法 |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OUTPUT_FULL
public static final String OUTPUT_FULL
- OUtput full HTML including <HTML>, <HEAD> and <BODY> tags.
- 另请参见:
output,
configuration,
常量字段值
OUTPUT_SIMPLE
public static final String OUTPUT_SIMPLE
- OUtput simple HTML excluding <HTML>, <HEAD> and <BODY> tags.
- 另请参见:
output,
configuration,
常量字段值
AdminServlet
public AdminServlet()
init
public void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
- 指定者:
- 接口
javax.servlet.Servlet 中的 init - 覆盖:
- 类
javax.servlet.GenericServlet 中的 init
- 抛出:
javax.servlet.ServletException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Delegate to
doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
- 覆盖:
- 类
javax.servlet.http.HttpServlet 中的 doPost
- 抛出:
javax.servlet.ServletException
IOException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Show the details for a pool.
- 覆盖:
- 类
javax.servlet.http.HttpServlet 中的 doGet
- 抛出:
javax.servlet.ServletException
IOException
Copyright © 2014. All rights reserved.