| Package | Description |
|---|---|
| org.apache.hc.client5.http.impl.cookie |
Default implementations of standard and common HTTP state
management policies.
|
| org.apache.hc.client5.http.impl.sync |
Default HTTP client implementation.
|
| org.apache.hc.client5.http.protocol |
Client specific HTTP protocol handlers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IgnoreSpecProvider
CookieSpecProvider implementation that ignores all cookies. |
class |
RFC6265CookieSpecProvider
CookieSpecProvider implementation that provides an instance of
RFC 6265 conformant cookie policy. |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hc.core5.http.config.Lookup<CookieSpecProvider> |
CookieSpecRegistries.createDefault()
Creates the default registry, using the default public suffix matcher.
|
static org.apache.hc.core5.http.config.Lookup<CookieSpecProvider> |
CookieSpecRegistries.createDefault(PublicSuffixMatcher publicSuffixMatcher)
Creates the default registry with the provided public suffix matcher
|
static org.apache.hc.core5.http.config.RegistryBuilder<CookieSpecProvider> |
CookieSpecRegistries.createDefaultBuilder()
Creates a builder containing the default registry entries with the default public suffix matcher.
|
static org.apache.hc.core5.http.config.RegistryBuilder<CookieSpecProvider> |
CookieSpecRegistries.createDefaultBuilder(PublicSuffixMatcher publicSuffixMatcher)
Creates a builder containing the default registry entries, using the provided public suffix matcher.
|
| Modifier and Type | Method and Description |
|---|---|
HttpClientBuilder |
HttpClientBuilder.setDefaultCookieSpecRegistry(org.apache.hc.core5.http.config.Lookup<CookieSpecProvider> cookieSpecRegistry)
Assigns default
CookieSpec registry which will
be used for request execution if not explicitly set in the client execution
context. |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hc.core5.http.config.Lookup<CookieSpecProvider> |
HttpClientContext.getCookieSpecRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpClientContext.setCookieSpecRegistry(org.apache.hc.core5.http.config.Lookup<CookieSpecProvider> lookup) |
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.