| Package | Description |
|---|---|
| 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 | Class | Description |
|---|---|---|
class |
BasicHttpCacheStorage |
Basic
HttpCacheStorage implementation backed by an instance of
LinkedHashMap. |
class |
ManagedHttpCacheStorage |
HttpCacheStorage implementation capable of deallocating resources associated with
the cache entries. |
| Modifier and Type | Method | Description |
|---|---|---|
CachingHttpClientBuilder |
CachingHttpClientBuilder.setHttpCacheStorage(HttpCacheStorage storage) |
| Constructor | Description |
|---|---|
CachingExec(org.apache.http.impl.execchain.ClientExecChain backend,
ResourceFactory resourceFactory,
HttpCacheStorage storage,
CacheConfig config) |
|
CachingHttpClient(org.apache.http.client.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(org.apache.http.client.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. |