Package org.eclipse.jetty.server.session
Class SessionHandler.CookieConfig
java.lang.Object
org.eclipse.jetty.server.session.SessionHandler.CookieConfig
- All Implemented Interfaces:
javax.servlet.SessionCookieConfig
- Enclosing class:
- SessionHandler
public final class SessionHandler.CookieConfig
extends Object
implements javax.servlet.SessionCookieConfig
CookieConfig
Implementation of the javax.servlet.SessionCookieConfig.
SameSite configuration can be achieved by using setComment
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getName()
getPath()
boolean
boolean
isSecure()
void
setComment
(String comment) void
void
setHttpOnly
(boolean httpOnly) void
setMaxAge
(int maxAge) void
void
void
setSecure
(boolean secure)
-
Constructor Details
-
CookieConfig
public CookieConfig()
-
-
Method Details
-
getComment
- Specified by:
getComment
in interfacejavax.servlet.SessionCookieConfig
-
getDomain
- Specified by:
getDomain
in interfacejavax.servlet.SessionCookieConfig
-
getMaxAge
public int getMaxAge()- Specified by:
getMaxAge
in interfacejavax.servlet.SessionCookieConfig
-
getName
- Specified by:
getName
in interfacejavax.servlet.SessionCookieConfig
-
getPath
- Specified by:
getPath
in interfacejavax.servlet.SessionCookieConfig
-
isHttpOnly
public boolean isHttpOnly()- Specified by:
isHttpOnly
in interfacejavax.servlet.SessionCookieConfig
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfacejavax.servlet.SessionCookieConfig
-
setComment
- Specified by:
setComment
in interfacejavax.servlet.SessionCookieConfig
-
setDomain
- Specified by:
setDomain
in interfacejavax.servlet.SessionCookieConfig
-
setHttpOnly
public void setHttpOnly(boolean httpOnly) - Specified by:
setHttpOnly
in interfacejavax.servlet.SessionCookieConfig
-
setMaxAge
public void setMaxAge(int maxAge) - Specified by:
setMaxAge
in interfacejavax.servlet.SessionCookieConfig
-
setName
- Specified by:
setName
in interfacejavax.servlet.SessionCookieConfig
-
setPath
- Specified by:
setPath
in interfacejavax.servlet.SessionCookieConfig
-
setSecure
public void setSecure(boolean secure) - Specified by:
setSecure
in interfacejavax.servlet.SessionCookieConfig
-