Package | Description |
---|---|
org.forgerock.http.header | |
org.forgerock.http.protocol |
Modifier and Type | Method and Description |
---|---|
List<Cookie> |
SetCookieHeader.getCookies()
Returns the cookies.
|
List<Cookie> |
CookieHeader.getCookies()
Returns the cookies' request list.
|
Constructor and Description |
---|
CookieHeader(List<Cookie> cookies)
Constructs a new header with the provided cookies.
|
SetCookieHeader(List<Cookie> cookies)
Constructs a new header with the provided cookies.
|
Modifier and Type | Method and Description |
---|---|
Cookie |
Cookie.setComment(String comment)
Sets the intended use of a cookie.
|
Cookie |
Cookie.setCommentURL(String commentURL)
Sets the URL identifying the intended use of a cookie.
|
Cookie |
Cookie.setDiscard(Boolean discard)
Sets the value indicating whether the user agent should discard the
cookie unconditionally when it terminates.
|
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.setSameSite(Cookie.SameSite sameSite) |
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.setVersion(Integer version)
Sets the version of the state management mechanism to which this cookie
conforms.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,List<Cookie>>> |
RequestCookies.entrySet() |
List<Cookie> |
RequestCookies.get(Object key) |
Collection<List<Cookie>> |
RequestCookies.values() |
Copyright © 2025 Open Identity Platform Community. All rights reserved.