Package com.alibaba.druid.support.http
Class AbstractWebStatImpl
java.lang.Object
com.alibaba.druid.support.http.AbstractWebStatImpl
- Direct Known Subclasses:
StatHandlerInterceptor
,WebStatFilter
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected boolean
static final int
protected String
protected String
protected boolean
protected String
protected boolean
protected int
protected WebAppStat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPrincipal
(javax.servlet.http.HttpServletRequest httpRequest) protected String
getRemoteAddress
(javax.servlet.http.HttpServletRequest request) getRequestURI
(javax.servlet.http.HttpServletRequest request) getSessionId
(javax.servlet.http.HttpServletRequest httpRequest) getSessionStat
(javax.servlet.http.HttpServletRequest request) int
boolean
boolean
void
setProfileEnable
(boolean profileEnable) void
setSessionStatEnable
(boolean sessionStatEnable)
-
Field Details
-
DEFAULT_MAX_STAT_SESSION_COUNT
public static final int DEFAULT_MAX_STAT_SESSION_COUNT- See Also:
-
webAppStat
-
sessionStatEnable
protected boolean sessionStatEnable -
sessionStatMaxCount
protected int sessionStatMaxCount -
createSession
protected boolean createSession -
profileEnable
protected boolean profileEnable -
contextPath
-
principalSessionName
-
principalCookieName
-
realIpHeader
-
statFilterContextListener
-
-
Constructor Details
-
AbstractWebStatImpl
public AbstractWebStatImpl()
-
-
Method Details
-
isSessionStatEnable
public boolean isSessionStatEnable() -
setSessionStatEnable
public void setSessionStatEnable(boolean sessionStatEnable) -
isProfileEnable
public boolean isProfileEnable() -
setProfileEnable
public void setProfileEnable(boolean profileEnable) -
getContextPath
-
getSessionStatMaxCount
public int getSessionStatMaxCount() -
getRequestURI
-
getPrincipalSessionName
-
getPrincipalCookieName
-
getSessionStat
-
getRemoteAddress
-
getSessionId
-
getPrincipal
-