Class SessionHandler.CookieConfig
java.lang.Object
org.eclipse.jetty.ee9.nested.SessionHandler.CookieConfig
- All Implemented Interfaces:
 jakarta.servlet.SessionCookieConfig
- Enclosing class:
 SessionHandler
public final class SessionHandler.CookieConfig
extends Object
implements jakarta.servlet.SessionCookieConfig
CookieConfig
Implementation of the jakarta.servlet.SessionCookieConfig.
SameSite configuration can be achieved by using setComment.
Partitioned configuration can be achieved by using setComment.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintgetName()getPath()booleanbooleanisSecure()voidsetComment(String comment) voidvoidsetHttpOnly(boolean httpOnly) voidsetMaxAge(int maxAge) voidvoidvoidsetSecure(boolean secure) toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.servlet.SessionCookieConfig
getAttribute, getAttributes, setAttribute 
- 
Constructor Details
- 
CookieConfig
public CookieConfig() 
 - 
 - 
Method Details
- 
getComment
- Specified by:
 getCommentin interfacejakarta.servlet.SessionCookieConfig
 - 
getDomain
- Specified by:
 getDomainin interfacejakarta.servlet.SessionCookieConfig
 - 
getMaxAge
public int getMaxAge()- Specified by:
 getMaxAgein interfacejakarta.servlet.SessionCookieConfig
 - 
getName
- Specified by:
 getNamein interfacejakarta.servlet.SessionCookieConfig
 - 
getPath
- Specified by:
 getPathin interfacejakarta.servlet.SessionCookieConfig
 - 
isHttpOnly
public boolean isHttpOnly()- Specified by:
 isHttpOnlyin interfacejakarta.servlet.SessionCookieConfig
 - 
isSecure
public boolean isSecure()- Specified by:
 isSecurein interfacejakarta.servlet.SessionCookieConfig
 - 
setComment
- Specified by:
 setCommentin interfacejakarta.servlet.SessionCookieConfig
 - 
setDomain
- Specified by:
 setDomainin interfacejakarta.servlet.SessionCookieConfig
 - 
setHttpOnly
public void setHttpOnly(boolean httpOnly) - Specified by:
 setHttpOnlyin interfacejakarta.servlet.SessionCookieConfig
 - 
setMaxAge
public void setMaxAge(int maxAge) - Specified by:
 setMaxAgein interfacejakarta.servlet.SessionCookieConfig
 - 
setName
- Specified by:
 setNamein interfacejakarta.servlet.SessionCookieConfig
 - 
setPath
- Specified by:
 setPathin interfacejakarta.servlet.SessionCookieConfig
 - 
setSecure
public void setSecure(boolean secure) - Specified by:
 setSecurein interfacejakarta.servlet.SessionCookieConfig
 - 
toString
 
 -