Package org.eclipse.jetty.server.session
Class SessionHandler.CookieConfig
- java.lang.Object
-
- org.eclipse.jetty.server.session.SessionHandler.CookieConfig
-
- All Implemented Interfaces:
SessionCookieConfig
- Enclosing class:
- SessionHandler
@Deprecated public final class SessionHandler.CookieConfig extends java.lang.Object implements SessionCookieConfig
Deprecated.This api is not supported anymore. Please do not use it.CookieConfig Implementation of the javax.servlet.SessionCookieConfig. SameSite configuration can be achieved by using setComment- See Also:
HttpCookie
-
-
Constructor Summary
Constructors Constructor Description CookieConfig()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetComment()Deprecated.java.lang.StringgetDomain()Deprecated.intgetMaxAge()Deprecated.java.lang.StringgetName()Deprecated.java.lang.StringgetPath()Deprecated.booleanisHttpOnly()Deprecated.booleanisSecure()Deprecated.voidsetComment(java.lang.String comment)Deprecated.voidsetDomain(java.lang.String domain)Deprecated.voidsetHttpOnly(boolean httpOnly)Deprecated.voidsetMaxAge(int maxAge)Deprecated.Sets the maximum age.voidsetName(java.lang.String name)Deprecated.voidsetPath(java.lang.String path)Deprecated.voidsetSecure(boolean secure)Deprecated.
-
-
-
Method Detail
-
getComment
public java.lang.String getComment()
Deprecated.- Specified by:
getCommentin interfaceSessionCookieConfig
-
getDomain
public java.lang.String getDomain()
Deprecated.- Specified by:
getDomainin interfaceSessionCookieConfig
-
getMaxAge
public int getMaxAge()
Deprecated.- Specified by:
getMaxAgein interfaceSessionCookieConfig
-
getName
public java.lang.String getName()
Deprecated.- Specified by:
getNamein interfaceSessionCookieConfig
-
getPath
public java.lang.String getPath()
Deprecated.- Specified by:
getPathin interfaceSessionCookieConfig
-
isHttpOnly
public boolean isHttpOnly()
Deprecated.- Specified by:
isHttpOnlyin interfaceSessionCookieConfig
-
isSecure
public boolean isSecure()
Deprecated.- Specified by:
isSecurein interfaceSessionCookieConfig
-
setComment
public void setComment(java.lang.String comment)
Deprecated.- Specified by:
setCommentin interfaceSessionCookieConfig
-
setDomain
public void setDomain(java.lang.String domain)
Deprecated.- Specified by:
setDomainin interfaceSessionCookieConfig
-
setHttpOnly
public void setHttpOnly(boolean httpOnly)
Deprecated.- Specified by:
setHttpOnlyin interfaceSessionCookieConfig
-
setMaxAge
public void setMaxAge(int maxAge)
Deprecated.Description copied from interface:SessionCookieConfigSets the maximum age.- Specified by:
setMaxAgein interfaceSessionCookieConfig- Parameters:
maxAge- the maximum age to set
-
setName
public void setName(java.lang.String name)
Deprecated.- Specified by:
setNamein interfaceSessionCookieConfig
-
setPath
public void setPath(java.lang.String path)
Deprecated.- Specified by:
setPathin interfaceSessionCookieConfig
-
setSecure
public void setSecure(boolean secure)
Deprecated.- Specified by:
setSecurein interfaceSessionCookieConfig
-
-