Class SessionConfig

java.lang.Object
org.apache.tomcat.util.descriptor.web.SessionConfig

public class SessionConfig extends Object
Representation of a session configuration element for a web application, as represented in a <session-config> element in the deployment descriptor.
  • Constructor Details

    • SessionConfig

      public SessionConfig()
  • Method Details

    • getSessionTimeout

      public Integer getSessionTimeout()
    • setSessionTimeout

      public void setSessionTimeout(String sessionTimeout)
    • getCookieName

      public String getCookieName()
    • setCookieName

      public void setCookieName(String cookieName)
    • getCookieDomain

      public String getCookieDomain()
    • setCookieDomain

      public void setCookieDomain(String cookieDomain)
    • getCookiePath

      public String getCookiePath()
    • setCookiePath

      public void setCookiePath(String cookiePath)
    • getCookieComment

      public String getCookieComment()
    • setCookieComment

      public void setCookieComment(String cookieComment)
    • getCookieHttpOnly

      public Boolean getCookieHttpOnly()
    • setCookieHttpOnly

      public void setCookieHttpOnly(String cookieHttpOnly)
    • getCookieSecure

      public Boolean getCookieSecure()
    • setCookieSecure

      public void setCookieSecure(String cookieSecure)
    • getCookieMaxAge

      public Integer getCookieMaxAge()
    • setCookieMaxAge

      public void setCookieMaxAge(String cookieMaxAge)
    • getSessionTrackingModes

      public EnumSet<SessionTrackingMode> getSessionTrackingModes()
    • addSessionTrackingMode

      public void addSessionTrackingMode(String sessionTrackingMode)