Uses of Class
org.forgerock.http.protocol.Cookie
Package
Description
Processes HTTP message header fields.
Models and manages elements of the Hypertext Transfer Protocol.
-
Uses of Cookie in org.forgerock.http.header
Modifier and TypeMethodDescriptionAbstractSetCookieHeader.getCookies()
Returns the list ofCookie
s from aSetCookieHeader
or aSetCookie2Header
.CookieHeader.getCookies()
Returns the cookies' request list.SetCookie2Header.getCookies()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the unmodifiable list of cookies.SetCookieHeader.getCookies()
Returns the cookies.ModifierConstructorDescriptionCookieHeader
(List<Cookie> cookies) Constructs a new header with the provided cookies.SetCookie2Header
(List<Cookie> cookies) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a newSet-Cookie2
with the provided cookies.SetCookieHeader
(List<Cookie> cookies) Constructs a new header with the provided cookies. -
Uses of Cookie in org.forgerock.http.protocol
Modifier and TypeMethodDescriptionCookie.setComment
(String comment) Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.Cookie.setCommentURL
(String commentURL) Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.Cookie.setDiscard
(Boolean discard) Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.Sets the domain for which the cookie is valid.Cookie.setExpires
(Date expires) Sets the lifetime of the cookie, expressed as the date and time of expiration.Cookie.setHttpOnly
(Boolean httpOnly) Sets the value indicating whether the user agent should make the cookie inaccessible to client side script.Sets the lifetime of the cookie, expressed in seconds.Sets the name of the cookie.Sets the subset of URLs on the origin server to which this cookie applies.Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.Cookie.setSameSite
(Cookie.SameSite sameSite) Sets the value of the SameSite attribute.Sets the value indicating whether the user agent should use only secure means to send back this cookie.Sets the value of the cookie.Cookie.setValueWasQuoted
(boolean valueWasQuoted) Sets the valueWasQuoted flag to indicate if the original cookie value was enclosed in "", used when recreating the cookie header.Cookie.setVersion
(Integer version) Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.