Uses of Interface
org.apache.hc.client5.http.cookie.Cookie
-
Packages that use Cookie Package Description org.apache.hc.client5.http.cookie Client HTTP state management APIs.org.apache.hc.client5.http.impl.cookie Standard and common HTTP cookie management policies.org.apache.hc.client5.http.protocol HTTP protocol interceptors that enable advanced functionality such as HTTP state management and authentication state caching. -
-
Uses of Cookie in org.apache.hc.client5.http.cookie
Subinterfaces of Cookie in org.apache.hc.client5.http.cookie Modifier and Type Interface Description interface
SetCookie
This interface represents aSet-Cookie
response header sent by the origin server to the HTTP agent in order to maintain a conversational state.Fields in org.apache.hc.client5.http.cookie with type parameters of type Cookie Modifier and Type Field Description private java.util.TreeSet<Cookie>
BasicCookieStore. cookies
Methods in org.apache.hc.client5.http.cookie that return types with arguments of type Cookie Modifier and Type Method Description java.util.List<Cookie>
BasicCookieStore. getCookies()
Returns an immutable array ofcookies
that this HTTP state currently contains.java.util.List<Cookie>
CookieStore. getCookies()
Returns all cookies contained in this store.java.util.List<Cookie>
CookieSpec. parse(org.apache.hc.core5.http.Header header, CookieOrigin origin)
Parse the"Set-Cookie"
Header into an array of Cookies.Methods in org.apache.hc.client5.http.cookie with parameters of type Cookie Modifier and Type Method Description void
BasicCookieStore. addCookie(Cookie cookie)
Adds anHTTP cookie
, replacing any existing equivalent cookies.void
CookieStore. addCookie(Cookie cookie)
Adds anCookie
, replacing any existing equivalent cookies.void
BasicCookieStore. addCookies(Cookie[] cookies)
Adds an array ofHTTP cookies
.int
CookieIdentityComparator. compare(Cookie c1, Cookie c2)
int
CookiePathComparator. compare(Cookie c1, Cookie c2)
int
CookiePriorityComparator. compare(Cookie c1, Cookie c2)
private int
CookiePriorityComparator. getPathLength(Cookie cookie)
boolean
CookieAttributeHandler. match(Cookie cookie, CookieOrigin origin)
Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.boolean
CookieSpec. match(Cookie cookie, CookieOrigin origin)
Determines if a Cookie matches the target location.private java.lang.String
CookiePathComparator. normalizePath(Cookie cookie)
void
CookieAttributeHandler. validate(Cookie cookie, CookieOrigin origin)
Performs cookie validation for the given attribute value.void
CookieSpec. validate(Cookie cookie, CookieOrigin origin)
Validate the cookie according to validation rules defined by the cookie specification.Method parameters in org.apache.hc.client5.http.cookie with type arguments of type Cookie Modifier and Type Method Description java.util.List<org.apache.hc.core5.http.Header>
CookieSpec. formatCookies(java.util.List<Cookie> cookies)
Create"Cookie"
headers for an array of Cookies. -
Uses of Cookie in org.apache.hc.client5.http.impl.cookie
Classes in org.apache.hc.client5.http.impl.cookie that implement Cookie Modifier and Type Class Description class
BasicClientCookie
Default implementation ofSetCookie
.Methods in org.apache.hc.client5.http.impl.cookie that return types with arguments of type Cookie Modifier and Type Method Description protected java.util.List<Cookie>
CookieSpecBase. parse(org.apache.hc.core5.http.HeaderElement[] elems, CookieOrigin origin)
java.util.List<Cookie>
IgnoreSpecSpec. parse(org.apache.hc.core5.http.Header header, CookieOrigin origin)
java.util.List<Cookie>
RFC6265CookieSpec. parse(org.apache.hc.core5.http.Header header, CookieOrigin origin)
Methods in org.apache.hc.client5.http.impl.cookie with parameters of type Cookie Modifier and Type Method Description boolean
AbstractCookieAttributeHandler. match(Cookie cookie, CookieOrigin origin)
boolean
BasicDomainHandler. match(Cookie cookie, CookieOrigin origin)
boolean
BasicHttpOnlyHandler. match(Cookie cookie, CookieOrigin origin)
boolean
BasicPathHandler. match(Cookie cookie, CookieOrigin origin)
boolean
BasicSecureHandler. match(Cookie cookie, CookieOrigin origin)
boolean
CookieSpecBase. match(Cookie cookie, CookieOrigin origin)
boolean
IgnoreSpecSpec. match(Cookie cookie, CookieOrigin origin)
boolean
PublicSuffixDomainFilter. match(Cookie cookie, CookieOrigin origin)
Never matches if the cookie's domain is from the blacklist.boolean
RFC6265CookieSpec. match(Cookie cookie, CookieOrigin origin)
void
AbstractCookieAttributeHandler. validate(Cookie cookie, CookieOrigin origin)
void
BasicDomainHandler. validate(Cookie cookie, CookieOrigin origin)
void
BasicHttpOnlyHandler. validate(Cookie cookie, CookieOrigin origin)
void
BasicPathHandler. validate(Cookie cookie, CookieOrigin origin)
void
CookieSpecBase. validate(Cookie cookie, CookieOrigin origin)
void
PublicSuffixDomainFilter. validate(Cookie cookie, CookieOrigin origin)
void
RFC6265CookieSpec. validate(Cookie cookie, CookieOrigin origin)
Method parameters in org.apache.hc.client5.http.impl.cookie with type arguments of type Cookie Modifier and Type Method Description java.util.List<org.apache.hc.core5.http.Header>
IgnoreSpecSpec. formatCookies(java.util.List<Cookie> cookies)
java.util.List<org.apache.hc.core5.http.Header>
RFC6265CookieSpec. formatCookies(java.util.List<Cookie> cookies)
-
Uses of Cookie in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol with parameters of type Cookie Modifier and Type Method Description private static java.lang.String
ResponseProcessCookies. formatCookie(Cookie cookie)
-