Class AbstractWebStatImpl
java.lang.Object
com.alibaba.druid.support.jakarta.AbstractWebStatImpl
- Direct Known Subclasses:
WebStatFilter
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanstatic final intprotected Stringprotected Stringprotected booleanprotected Stringprotected booleanprotected intprotected WebAppStat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPrincipal(jakarta.servlet.http.HttpServletRequest httpRequest) protected StringgetRemoteAddress(jakarta.servlet.http.HttpServletRequest request) getRequestURI(jakarta.servlet.http.HttpServletRequest request) getSessionId(jakarta.servlet.http.HttpServletRequest httpRequest) getSessionStat(jakarta.servlet.http.HttpServletRequest request) intbooleanbooleanvoidsetProfileEnable(boolean profileEnable) voidsetSessionStatEnable(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
-