| 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 | Field | Description |
|---|---|---|
static CacheConfig |
CacheConfig.DEFAULT |
| Modifier and Type | Method | Description |
|---|---|---|
CacheConfig |
CacheConfig.Builder.build() |
|
protected CacheConfig |
CacheConfig.clone() |
| Modifier and Type | Method | Description |
|---|---|---|
static CacheConfig.Builder |
CacheConfig.copy(CacheConfig config) |
|
CachingHttpClientBuilder |
CachingHttpClientBuilder.setCacheConfig(CacheConfig cacheConfig) |
| Constructor | Description |
|---|---|
BasicHttpCacheStorage(CacheConfig config) |
|
CachingExec(org.apache.http.impl.execchain.ClientExecChain backend,
ResourceFactory resourceFactory,
HttpCacheStorage storage,
CacheConfig config) |
|
CachingExec(org.apache.http.impl.execchain.ClientExecChain backend,
org.apache.http.impl.client.cache.HttpCache cache,
CacheConfig config) |
|
CachingExec(org.apache.http.impl.execchain.ClientExecChain backend,
org.apache.http.impl.client.cache.HttpCache cache,
CacheConfig config,
org.apache.http.impl.client.cache.AsynchronousValidator asynchRevalidator) |
|
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. |
CachingHttpClient(org.apache.http.client.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(CacheConfig config) |
Deprecated.
Constructs a
CachingHttpClient with the given caching options that
stores cache entries in memory and uses a vanilla DefaultHttpClient
for backend requests. |
ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig) |
Create a new scheduling strategy using a fixed pool of worker threads.
|
ExponentialBackOffSchedulingStrategy(CacheConfig cacheConfig,
long backOffRate,
long initialExpiryInMillis,
long maxExpiryInMillis) |
Create a new scheduling strategy by using a fixed pool of worker threads and the
given parameters to calculated the delay.
|
ImmediateSchedulingStrategy(CacheConfig cacheConfig) |
Uses a
ThreadPoolExecutor which is configured according to the
given CacheConfig. |
ManagedHttpCacheStorage(CacheConfig config) |