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. -
-
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 ofCookies from aSetCookieHeaderor 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-Cookie2with 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 CookieCookie. setComment(String comment)Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.CookieCookie. setCommentURL(String commentURL)Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.CookieCookie. setDiscard(Boolean discard)Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.CookieCookie. setDomain(String domain)Sets the domain for which the cookie is valid.CookieCookie. setExpires(Date expires)Sets the lifetime of the cookie, expressed as the date and time of expiration.CookieCookie. setHttpOnly(Boolean httpOnly)Sets the value indicating whether the user agent should make the cookie inaccessible to client side script.CookieCookie. setMaxAge(Integer maxAge)Sets the lifetime of the cookie, expressed in seconds.CookieCookie. setName(String name)Sets the name of the cookie.CookieCookie. setPath(String path)Sets the subset of URLs on the origin server to which this cookie applies.CookieCookie. setPort(List<Integer> port)Deprecated.Only valid for RFC 2965 cookies ("Cookie2"), which have been deprecated and removed by most clients.CookieCookie. setSameSite(Cookie.SameSite sameSite)Sets the value of the SameSite attribute.CookieCookie. setSecure(Boolean secure)Sets the value indicating whether the user agent should use only secure means to send back this cookie.CookieCookie. setValue(String value)Sets the value of the cookie.CookieCookie. setValueWasQuoted(boolean valueWasQuoted)Sets the valueWasQuoted flag to indicate if the original cookie value was enclosed in "", used when recreating the cookie header.CookieCookie. 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()
-