Class SessionConfig
java.lang.Object
org.apache.tomcat.util.descriptor.web.SessionConfig
Representation of a session configuration element for a web application,
as represented in a
<session-config>
element in the
deployment descriptor.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSessionTrackingMode
(String sessionTrackingMode) getCookieAttribute
(String name) void
setCookieAttribute
(String name, String value) void
setCookieComment
(String cookieComment) void
setCookieDomain
(String cookieDomain) void
setCookieHttpOnly
(String cookieHttpOnly) void
setCookieMaxAge
(String cookieMaxAge) void
setCookieName
(String cookieName) void
setCookiePath
(String cookiePath) void
setCookieSecure
(String cookieSecure) void
setSessionTimeout
(String sessionTimeout)
-
Constructor Details
-
SessionConfig
public SessionConfig()
-
-
Method Details
-
getSessionTimeout
-
setSessionTimeout
-
getCookieName
-
setCookieName
-
getCookieDomain
-
setCookieDomain
-
getCookiePath
-
setCookiePath
-
getCookieComment
-
setCookieComment
-
getCookieHttpOnly
-
setCookieHttpOnly
-
getCookieSecure
-
setCookieSecure
-
getCookieMaxAge
-
setCookieMaxAge
-
getCookieAttributes
-
setCookieAttribute
-
getCookieAttribute
-
getSessionTrackingModes
-
addSessionTrackingMode
-