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(since="2021-05-27") public final class SessionHandler.CookieConfig extends java.lang.Object implements SessionCookieConfig
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.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.String
getComment()
Deprecated.java.lang.String
getDomain()
Deprecated.int
getMaxAge()
Deprecated.java.lang.String
getName()
Deprecated.java.lang.String
getPath()
Deprecated.boolean
isHttpOnly()
Deprecated.boolean
isSecure()
Deprecated.void
setComment(java.lang.String comment)
Deprecated.Sets the comment for the session cookievoid
setDomain(java.lang.String domain)
Deprecated.Sets the domain for the session cookievoid
setHttpOnly(boolean httpOnly)
Deprecated.Sets the httpOnly flag for the session cookie.void
setMaxAge(int maxAge)
Deprecated.Sets the maximum age.void
setName(java.lang.String name)
Deprecated.Sets the session cookie name.void
setPath(java.lang.String path)
Deprecated.Sets the path of the session cookie.void
setSecure(boolean secure)
Deprecated.Sets the secure flag for the session cookie.
-
-
-
Method Detail
-
getComment
public java.lang.String getComment()
Deprecated.- Specified by:
getComment
in interfaceSessionCookieConfig
-
getDomain
public java.lang.String getDomain()
Deprecated.- Specified by:
getDomain
in interfaceSessionCookieConfig
-
getMaxAge
public int getMaxAge()
Deprecated.- Specified by:
getMaxAge
in interfaceSessionCookieConfig
-
getName
public java.lang.String getName()
Deprecated.- Specified by:
getName
in interfaceSessionCookieConfig
-
getPath
public java.lang.String getPath()
Deprecated.- Specified by:
getPath
in interfaceSessionCookieConfig
-
isHttpOnly
public boolean isHttpOnly()
Deprecated.- Specified by:
isHttpOnly
in interfaceSessionCookieConfig
-
isSecure
public boolean isSecure()
Deprecated.- Specified by:
isSecure
in interfaceSessionCookieConfig
-
setComment
public void setComment(java.lang.String comment)
Deprecated.Description copied from interface:SessionCookieConfig
Sets the comment for the session cookie- Specified by:
setComment
in interfaceSessionCookieConfig
- Parameters:
comment
- The session cookie comment
-
setDomain
public void setDomain(java.lang.String domain)
Deprecated.Description copied from interface:SessionCookieConfig
Sets the domain for the session cookie- Specified by:
setDomain
in interfaceSessionCookieConfig
- Parameters:
domain
- The session cookie domain
-
setHttpOnly
public void setHttpOnly(boolean httpOnly)
Deprecated.Description copied from interface:SessionCookieConfig
Sets the httpOnly flag for the session cookie.- Specified by:
setHttpOnly
in interfaceSessionCookieConfig
- Parameters:
httpOnly
- The httpOnly setting to use for session cookies
-
setMaxAge
public void setMaxAge(int maxAge)
Deprecated.Description copied from interface:SessionCookieConfig
Sets the maximum age.- Specified by:
setMaxAge
in interfaceSessionCookieConfig
- Parameters:
maxAge
- the maximum age to set
-
setName
public void setName(java.lang.String name)
Deprecated.Description copied from interface:SessionCookieConfig
Sets the session cookie name.- Specified by:
setName
in interfaceSessionCookieConfig
- Parameters:
name
- The name of the session cookie
-
setPath
public void setPath(java.lang.String path)
Deprecated.Description copied from interface:SessionCookieConfig
Sets the path of the session cookie.- Specified by:
setPath
in interfaceSessionCookieConfig
- Parameters:
path
- The session cookie path
-
setSecure
public void setSecure(boolean secure)
Deprecated.Description copied from interface:SessionCookieConfig
Sets the secure flag for the session cookie.- Specified by:
setSecure
in interfaceSessionCookieConfig
- Parameters:
secure
- The secure setting to use for session cookies
-
-