Uses of Class
org.forgerock.http.protocol.Cookie
-
Packages that use Cookie Package Description org.forgerock.http.header Processes HTTP message header fields.org.forgerock.http.protocol Models and manages elements of the Hypertext Transfer Protocol.org.forgerock.openig.http Integrates with the ForgeRock HTTP Framework. -
-
Uses of Cookie in org.forgerock.http.header
Methods in org.forgerock.http.header that return types with arguments of type Cookie Modifier and Type Method Description abstract List<Cookie>
AbstractSetCookieHeader. getCookies()
Returns the list ofCookie
s from aSetCookieHeader
or aSetCookie2Header
.List<Cookie>
CookieHeader. getCookies()
Returns the cookies' request list.List<Cookie>
SetCookie2Header. getCookies()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the unmodifiable list of cookies.List<Cookie>
SetCookieHeader. getCookies()
Returns the cookies.Constructor parameters in org.forgerock.http.header with type arguments of type Cookie Constructor Description CookieHeader(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
Methods in org.forgerock.http.protocol that return Cookie Modifier and Type Method Description Cookie
Cookie. setComment(String comment)
Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.Cookie
Cookie. setCommentURL(String commentURL)
Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.Cookie
Cookie. setDiscard(Boolean discard)
Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.Cookie
Cookie. setDomain(String domain)
Sets the domain for which the cookie is valid.Cookie
Cookie. setExpires(Date expires)
Sets the lifetime of the cookie, expressed as the date and time of expiration.Cookie
Cookie. setHttpOnly(Boolean httpOnly)
Sets the value indicating whether the user agent should make the cookie inaccessible to client side script.Cookie
Cookie. setMaxAge(Integer maxAge)
Sets the lifetime of the cookie, expressed in seconds.Cookie
Cookie. setName(String name)
Sets the name of the cookie.Cookie
Cookie. setPath(String path)
Sets the subset of URLs on the origin server to which this cookie applies.Cookie
Cookie. setPort(List<Integer> port)
Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.Cookie
Cookie. setSameSite(Cookie.SameSite sameSite)
Sets the value of the SameSite attribute.Cookie
Cookie. setSecure(Boolean secure)
Sets the value indicating whether the user agent should use only secure means to send back this cookie.Cookie
Cookie. setValue(String value)
Sets the value of the cookie.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
Cookie. setVersion(Integer version)
Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.Methods in org.forgerock.http.protocol that return types with arguments of type Cookie Modifier and Type Method Description Set<Map.Entry<String,List<Cookie>>>
RequestCookies. entrySet()
List<Cookie>
RequestCookies. get(Object key)
Collection<List<Cookie>>
RequestCookies. values()
-
Uses of Cookie in org.forgerock.openig.http
Methods in org.forgerock.openig.http that return Cookie Modifier and Type Method Description Cookie
CookieBuilder. build()
Create aCookie
based on the details held in thisCookieBuilder
.
-