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) 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
-
getSessionTrackingModes
-
addSessionTrackingMode
-