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 |
AbstractHttpClient
Deprecated.
(4.3) use
HttpClientBuilder . |
class |
AutoRetryHttpClient
Deprecated.
(4.3) use
HttpClientBuilder . |
class |
CloseableHttpClient
Base implementation of
HttpClient that also implements Closeable . |
class |
ContentEncodingHttpClient
Deprecated.
(4.2) use
HttpClientBuilder |
class |
DecompressingHttpClient
Deprecated.
(4.3) use
HttpClientBuilder |
class |
DefaultHttpClient
Deprecated.
(4.3) use
HttpClientBuilder see also CloseableHttpClient . |
class |
SystemDefaultHttpClient
Deprecated.
(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
AutoRetryHttpClient with default caching settings that
stores cache entries in memory and uses the given HttpClient for
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 |
CachingHttpClient
Deprecated.
(4.3) use
CachingHttpClientBuilder or CachingHttpClients . |
Constructor and Description |
---|
CachingHttpClient(HttpClient client)
Deprecated.
Constructs a
CachingHttpClient with default caching settings that
stores cache entries in memory and uses the given HttpClient
for backend requests. |
CachingHttpClient(HttpClient client,
CacheConfig config)
Deprecated.
Constructs a
CachingHttpClient with the given caching options that
stores cache entries in memory and uses the given HttpClient
for backend requests. |
CachingHttpClient(HttpClient client,
HttpCacheStorage storage,
CacheConfig config)
Deprecated.
Constructs a
CachingHttpClient with the given caching options
that stores cache entries in the provided storage backend and uses
the given HttpClient for backend requests. |
CachingHttpClient(HttpClient client,
ResourceFactory resourceFactory,
HttpCacheStorage storage,
CacheConfig config)
Deprecated.
Constructs a
CachingHttpClient with the given caching options
that stores cache entries in the provided storage backend and uses
the given HttpClient for backend requests. |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.