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.
|
Modifier and Type | Class and Description |
---|---|
class |
CookieRestrictionViolationException
Signals that a cookie violates a restriction imposed by the cookie
specification.
|
Modifier and Type | Method and Description |
---|---|
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.parse(SetCookie cookie,
String value)
Parse the given cookie attribute value and processChallenge the corresponding
Cookie property. |
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 |
---|---|
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.parse(SetCookie cookie,
String value) |
void |
BasicMaxAgeHandler.parse(SetCookie cookie,
String value) |
void |
BasicSecureHandler.parse(SetCookie cookie,
String value) |
void |
LaxExpiresHandler.parse(SetCookie cookie,
String value) |
void |
BasicDomainHandler.parse(SetCookie cookie,
String value) |
void |
BasicExpiresHandler.parse(SetCookie cookie,
String value) |
void |
BasicHttpOnlyHandler.parse(SetCookie cookie,
String value) |
void |
LaxMaxAgeHandler.parse(SetCookie cookie,
String value) |
void |
BasicPathHandler.parse(SetCookie cookie,
String value) |
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) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.