| Package | Description | 
|---|---|
| org.apache.http.client.fluent | Simple facade APIs for HttpClient based on the concept of
 a fluent interface. | 
| org.apache.http.client.utils | Client utility classes. | 
| org.apache.http.impl.client | Default HTTP client implementation. | 
| org.apache.http.impl.client.cache | 
This package contains a cache module that can be used for HTTP/1.1
client-side caching. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Executor | Executor. newInstance(HttpClient httpclient) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | HttpClientUtils. closeQuietly(HttpClient httpClient)Unconditionally close a httpClient. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractHttpClientDeprecated. 
 (4.3) use  HttpClientBuilder. | 
| class  | AutoRetryHttpClientDeprecated. 
 (4.3) use  HttpClientBuilder. | 
| class  | CloseableHttpClientBase implementation of  HttpClientthat also implementsCloseable. | 
| class  | ContentEncodingHttpClientDeprecated. 
 (4.2) use  HttpClientBuilder | 
| class  | DecompressingHttpClientDeprecated. 
 (4.3) use  HttpClientBuilder | 
| class  | DefaultHttpClientDeprecated. 
 (4.3) use  HttpClientBuildersee alsoCloseableHttpClient. | 
| class  | SystemDefaultHttpClientDeprecated. 
 (4.3) use  HttpClientBuilder | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpClient | DecompressingHttpClient. getHttpClient()Deprecated.  Gets the HttpClient to issue request. | 
| Constructor and Description | 
|---|
| AutoRetryHttpClient(HttpClient client)Deprecated.  Constructs a  AutoRetryHttpClientwith default caching settings that
 stores cache entries in memory and uses the givenHttpClientfor
 backend requests. | 
| AutoRetryHttpClient(HttpClient client,
                   ServiceUnavailableRetryStrategy retryStrategy)Deprecated.  | 
| DecompressingHttpClient(HttpClient backend)Deprecated.  Constructs a decorator to ask for and handle compressed
 entities on the fly. | 
| FutureRequestExecutionService(HttpClient httpclient,
                             ExecutorService executorService)Create a new FutureRequestExecutionService. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CachingHttpClientDeprecated. 
 (4.3) use  CachingHttpClientBuilderorCachingHttpClients. | 
| Constructor and Description | 
|---|
| CachingHttpClient(HttpClient client)Deprecated.  Constructs a  CachingHttpClientwith default caching settings that
 stores cache entries in memory and uses the givenHttpClientfor backend requests. | 
| CachingHttpClient(HttpClient client,
                 CacheConfig config)Deprecated.  Constructs a  CachingHttpClientwith the given caching options that
 stores cache entries in memory and uses the givenHttpClientfor backend requests. | 
| CachingHttpClient(HttpClient client,
                 HttpCacheStorage storage,
                 CacheConfig config)Deprecated.  Constructs a  CachingHttpClientwith the given caching options
 that stores cache entries in the provided storage backend and uses
 the givenHttpClientfor backend requests. | 
| CachingHttpClient(HttpClient client,
                 ResourceFactory resourceFactory,
                 HttpCacheStorage storage,
                 CacheConfig config)Deprecated.  Constructs a  CachingHttpClientwith the given caching options
 that stores cache entries in the provided storage backend and uses
 the givenHttpClientfor backend requests. | 
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.