See: Description
| Interface | Description |
|---|---|
| FailureCache |
Increase and reset the number of errors associated with a specific
identifier.
|
| HttpCache | |
| SchedulingStrategy |
Specifies when revalidation requests are scheduled.
|
| Class | Description |
|---|---|
| AsynchronousValidationRequest |
Class used to represent an asynchronous revalidation event, such as with
"stale-while-revalidate"
|
| AsynchronousValidator |
Class used for asynchronous revalidations to be used when the "stale-
while-revalidate" directive is present
|
| BasicHttpCache | |
| BasicHttpCacheStorage |
Basic
HttpCacheStorage implementation backed by an instance of
LinkedHashMap. |
| BasicIdGenerator |
Should produce reasonably unique tokens.
|
| CacheableRequestPolicy |
Determines if an HttpRequest is allowed to be served from the cache.
|
| CacheConfig |
Java Beans-style configuration for a
CachingHttpClient. |
| CacheConfig.Builder | |
| CachedHttpResponseGenerator |
Rebuilds an
HttpResponse from a net.sf.ehcache.CacheEntry |
| CachedResponseSuitabilityChecker |
Determines whether a given
HttpCacheEntry is suitable to be
used as a response for a given HttpRequest. |
| CacheEntity | |
| CacheEntryUpdater |
Update a
HttpCacheEntry with new or updated information based on the latest
304 status response from the Server. |
| CacheInvalidator |
Given a particular HttpRequest, flush any cache entries that this request
would invalidate.
|
| CacheKeyGenerator | |
| CacheMap | |
| CacheValidityPolicy | |
| CachingExec |
Request executor in the request execution chain that is responsible for
transparent client-side caching.
|
| CachingHttpClient | Deprecated
(4.3) use
CachingHttpClientBuilder or CachingHttpClients. |
| CachingHttpClient.AsynchronousValidationRequest | |
| CachingHttpClient.AsynchronousValidator | |
| CachingHttpClientBuilder |
Builder for
CloseableHttpClient
instances capable of client-side caching. |
| CachingHttpClients |
Factory methods for
CloseableHttpClient instances
capable of client-side caching. |
| CombinedEntity | |
| ConditionalRequestBuilder | |
| DefaultFailureCache |
Implements a bounded failure cache.
|
| DefaultHttpCacheEntrySerializer |
HttpCacheEntrySerializer implementation that uses the default (native)
serialization. |
| ExponentialBackOffSchedulingStrategy |
An implementation that backs off exponentially based on the number of
consecutive failed attempts stored in the
AsynchronousValidationRequest. |
| FailureCacheValue |
The error count with a creation timestamp and its associated key.
|
| FileResource |
Cache resource backed by a file.
|
| FileResourceFactory |
Generates
Resource instances whose body is stored in a temporary file. |
| HeapResource |
Cache resource backed by a byte array on the heap.
|
| HeapResourceFactory |
Generates
Resource instances stored entirely in heap. |
| ImmediateSchedulingStrategy |
Immediately schedules any incoming validation request.
|
| IOUtils | |
| ManagedHttpCacheStorage |
HttpCacheStorage implementation capable of deallocating resources associated with
the cache entries. |
| OptionsHttp11Response | |
| Proxies |
Proxies for HTTP message objects.
|
| RequestProtocolCompliance | |
| ResourceReference | |
| ResponseCachingPolicy |
Determines if an HttpResponse can be cached.
|
| ResponseProtocolCompliance | |
| ResponseProxyHandler |
A proxy class that can enhance an arbitrary
HttpResponse with
Closeable.close() method. |
| SizeLimitedResponseReader | |
| Variant |
Records a set of information describing a cached variant.
|
| WarningValue |
This class provides for parsing and understanding Warning headers.
|
| Enum | Description |
|---|---|
| RequestProtocolError |
This package contains a cache module that can be used for HTTP/1.1
client-side caching. The primary classes in this package are the
CachingHttpClient,
which is a drop-in replacement for
a DefaultHttpClient that adds
caching, and the CacheConfig
class that can be used for configuring it.