java.lang.Object
cloud.piranha.core.api.WebXmlSessionConfig
A session-config inside of web.xml/web-fragment.xml.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the cookie config.int
Get the session timeout.void
setCookieConfig
(WebXmlSessionConfigCookieConfig cookieConfig) Set the cookie config.void
setSessionTimeout
(int sessionTimeout) Set the session timeout.
-
Constructor Details
-
WebXmlSessionConfig
public WebXmlSessionConfig()
-
-
Method Details
-
getCookieConfig
Get the cookie config.- Returns:
- the cookie config.
-
getSessionTimeout
public int getSessionTimeout()Get the session timeout.- Returns:
- the session timeout.
-
setCookieConfig
Set the cookie config.- Parameters:
cookieConfig
- the cookie config.
-
setSessionTimeout
public void setSessionTimeout(int sessionTimeout) Set the session timeout.- Parameters:
sessionTimeout
- the session timeout.
-