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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
List<Cookie> |
CookieSpec.parse(org.apache.hc.core5.http.Header header,
CookieOrigin origin)
Parse the
"Set-Cookie" Header into an array of Cookies. |
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.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
CookieSpecBase.getDefaultDomain(CookieOrigin origin) |
protected static String |
CookieSpecBase.getDefaultPath(CookieOrigin origin) |
boolean |
PublicSuffixDomainFilter.match(Cookie cookie,
CookieOrigin origin)
Never matches if the cookie's domain is from the blacklist.
|
boolean |
AbstractCookieAttributeHandler.match(Cookie cookie,
CookieOrigin origin) |
boolean |
BasicSecureHandler.match(Cookie cookie,
CookieOrigin origin) |
boolean |
IgnoreSpecSpec.match(Cookie cookie,
CookieOrigin origin) |
boolean |
CookieSpecBase.match(Cookie cookie,
CookieOrigin origin) |
boolean |
BasicDomainHandler.match(Cookie cookie,
CookieOrigin origin) |
boolean |
BasicHttpOnlyHandler.match(Cookie cookie,
CookieOrigin origin) |
boolean |
RFC6265CookieSpec.match(Cookie cookie,
CookieOrigin origin) |
boolean |
BasicPathHandler.match(Cookie cookie,
CookieOrigin origin) |
List<Cookie> |
IgnoreSpecSpec.parse(org.apache.hc.core5.http.Header header,
CookieOrigin origin) |
List<Cookie> |
RFC6265CookieSpec.parse(org.apache.hc.core5.http.Header header,
CookieOrigin origin) |
protected List<Cookie> |
CookieSpecBase.parse(org.apache.hc.core5.http.HeaderElement[] elems,
CookieOrigin origin) |
void |
PublicSuffixDomainFilter.validate(Cookie cookie,
CookieOrigin origin) |
void |
AbstractCookieAttributeHandler.validate(Cookie cookie,
CookieOrigin origin) |
void |
CookieSpecBase.validate(Cookie cookie,
CookieOrigin origin) |
void |
BasicDomainHandler.validate(Cookie cookie,
CookieOrigin origin) |
void |
BasicHttpOnlyHandler.validate(Cookie cookie,
CookieOrigin origin) |
void |
RFC6265CookieSpec.validate(Cookie cookie,
CookieOrigin origin) |
void |
BasicPathHandler.validate(Cookie cookie,
CookieOrigin origin) |
Modifier and Type | Method and Description |
---|---|
CookieOrigin |
HttpClientContext.getCookieOrigin()
Represents a
CookieOrigin produced in the context of request execution. |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientContext.setCookieOrigin(CookieOrigin cookieOrigin) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.