com.alibaba.druid.support.http
类 StatViewServlet

java.lang.Object
  继承者 javax.servlet.GenericServlet
      继承者 javax.servlet.http.HttpServlet
          继承者 com.alibaba.druid.support.http.ResourceSerlvet
              继承者 com.alibaba.druid.support.http.StatViewServlet
所有已实现的接口:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class StatViewServlet
extends ResourceSerlvet

注意:避免直接调用Druid相关对象例如DruidDataSource等,相关调用要到DruidStatManagerFacade里用反射实现

作者:
sandzhang
另请参见:
序列化表格

字段摘要
static String PARAM_NAME_JMX_PASSWORD
           
static String PARAM_NAME_JMX_URL
           
static String PARAM_NAME_JMX_USERNAME
           
static String PARAM_NAME_RESET_ENABLE
           
 
从类 com.alibaba.druid.support.http.ResourceSerlvet 继承的字段
PARAM_NAME_ALLOW, PARAM_NAME_DENY, PARAM_NAME_PASSWORD, PARAM_NAME_USERNAME, PARAM_REMOTE_ADDR, SESSION_USER_KEY
 
构造方法摘要
StatViewServlet()
           
 
方法摘要
 void init()
           
 
从类 com.alibaba.druid.support.http.ResourceSerlvet 继承的方法
ContainsUser, isPermittedRequest, isPermittedRequest, isRequireAuth, service
 
从类 javax.servlet.http.HttpServlet 继承的方法
service
 
从类 javax.servlet.GenericServlet 继承的方法
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

PARAM_NAME_RESET_ENABLE

public static final String PARAM_NAME_RESET_ENABLE
另请参见:
常量字段值

PARAM_NAME_JMX_URL

public static final String PARAM_NAME_JMX_URL
另请参见:
常量字段值

PARAM_NAME_JMX_USERNAME

public static final String PARAM_NAME_JMX_USERNAME
另请参见:
常量字段值

PARAM_NAME_JMX_PASSWORD

public static final String PARAM_NAME_JMX_PASSWORD
另请参见:
常量字段值
构造方法详细信息

StatViewServlet

public StatViewServlet()
方法详细信息

init

public void init()
          throws javax.servlet.ServletException
覆盖:
ResourceSerlvet 中的 init
抛出:
javax.servlet.ServletException


Copyright © 2013-2014 Alibaba Group. All Rights Reserved.