Class AbstractWebStatImpl

java.lang.Object
com.alibaba.druid.support.http.AbstractWebStatImpl
Direct Known Subclasses:
StatHandlerInterceptor, WebStatFilter

public class AbstractWebStatImpl extends Object
  • Field Details

    • DEFAULT_MAX_STAT_SESSION_COUNT

      public static final int DEFAULT_MAX_STAT_SESSION_COUNT
      See Also:
    • webAppStat

      protected WebAppStat webAppStat
    • sessionStatEnable

      protected boolean sessionStatEnable
    • sessionStatMaxCount

      protected int sessionStatMaxCount
    • createSession

      protected boolean createSession
    • profileEnable

      protected boolean profileEnable
    • contextPath

      protected String contextPath
    • principalSessionName

      protected String principalSessionName
    • principalCookieName

      protected String principalCookieName
    • realIpHeader

      protected String realIpHeader
    • statFilterContextListener

      protected AbstractWebStatImpl.WebStatFilterContextListener 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

      public String getContextPath()
    • getSessionStatMaxCount

      public int getSessionStatMaxCount()
    • getRequestURI

      public String getRequestURI(javax.servlet.http.HttpServletRequest request)
    • getPrincipalSessionName

      public String getPrincipalSessionName()
    • getPrincipalCookieName

      public String getPrincipalCookieName()
    • getSessionStat

      public WebSessionStat getSessionStat(javax.servlet.http.HttpServletRequest request)
    • getRemoteAddress

      protected String getRemoteAddress(javax.servlet.http.HttpServletRequest request)
    • getSessionId

      public String getSessionId(javax.servlet.http.HttpServletRequest httpRequest)
    • getPrincipal

      public String getPrincipal(javax.servlet.http.HttpServletRequest httpRequest)