Package | Description |
---|---|
org.apache.hc.client5.http |
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
|
org.apache.hc.client5.http.cache |
Caching APIs for both the classic and the asynchronous
HTTP transports.
|
org.apache.hc.client5.http.cookie |
Client HTTP state management APIs.
|
org.apache.hc.client5.http.fluent |
Simple facade APIs for HttpClient based on the concept of
a fluent interface.
|
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.protocol |
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
|
Modifier and Type | Method and Description |
---|---|
ContextBuilder |
ContextBuilder.useCookieStore(CookieStore cookieStore) |
AbstractClientContextBuilder<T> |
AbstractClientContextBuilder.useCookieStore(CookieStore cookieStore) |
Modifier and Type | Method and Description |
---|---|
CacheContextBuilder |
CacheContextBuilder.useCookieStore(CookieStore cookieStore) |
Modifier and Type | Class and Description |
---|---|
class |
BasicCookieStore
Default implementation of
CookieStore |
Modifier and Type | Method and Description |
---|---|
Executor |
Executor.use(CookieStore cookieStore) |
Modifier and Type | Method and Description |
---|---|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultCookieStore(CookieStore cookieStore)
Sets default
CookieStore instance which will be used for
request execution if not explicitly set in the client execution context. |
H2AsyncClientBuilder |
H2AsyncClientBuilder.setDefaultCookieStore(CookieStore cookieStore)
Sets default
CookieStore instance which will be used for
request execution if not explicitly set in the client execution context. |
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.setDefaultCookieStore(CookieStore cookieStore)
Sets default
CookieStore instance which will be used for
request execution if not explicitly set in the client execution context. |
Modifier and Type | Method and Description |
---|---|
CookieStore |
HttpClientContext.getCookieStore()
Represents a
CookieStore used in the context of the request execution. |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientContext.setCookieStore(CookieStore cookieStore) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.