| Package | Description | 
|---|---|
| org.apache.hc.client5.http.impl | |
| org.apache.hc.client5.http.impl.async | Asynchronous HTTP client API implementation that supports both
 HTTP/2 and HTTP/1.1 transport. | 
| org.apache.hc.client5.http.impl.classic | Classic HTTP client API implementation that supports HTTP/1.1 transport
 only. | 
| 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 | 
|---|---|
| static org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> | CookieSpecSupport. createDefault()Creates the default registry, using the default public suffix matcher. | 
| static org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> | CookieSpecSupport. createDefault(PublicSuffixMatcher publicSuffixMatcher)Creates the default registry with the provided public suffix matcher | 
| static org.apache.hc.core5.http.config.RegistryBuilder<CookieSpecFactory> | CookieSpecSupport. createDefaultBuilder()Creates a builder containing the default registry entries with the default public suffix matcher. | 
| static org.apache.hc.core5.http.config.RegistryBuilder<CookieSpecFactory> | CookieSpecSupport. createDefaultBuilder(PublicSuffixMatcher publicSuffixMatcher)Creates a builder containing the default registry entries, using the provided public suffix matcher. | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setDefaultCookieSpecRegistry(org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry)Assigns default  CookieSpecregistry
 which will be used for request execution if not explicitly set in the client
 execution context. | 
| H2AsyncClientBuilder | H2AsyncClientBuilder. setDefaultCookieSpecRegistry(org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry)Assigns default  CookieSpecregistry
 which will be used for request execution if not explicitly set in the client
 execution context. | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpClientBuilder | HttpClientBuilder. setDefaultCookieSpecRegistry(org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry)Assigns default  CookieSpecregistry which will
 be used for request execution if not explicitly set in the client execution
 context. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | IgnoreCookieSpecFactoryCookieSpecFactoryimplementation that ignores all cookies. | 
| class  | RFC6265CookieSpecFactoryCookieSpecFactoryimplementation that provides an instance of
 RFC 6265 conformant cookie policy. | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> | HttpClientContext. getCookieSpecRegistry() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HttpClientContext. setCookieSpecRegistry(org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> lookup) | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.