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 and Description |
---|---|
private CachingHttpClient |
CachingHttpClient.AsynchronousValidator.cachingClient |
private CachingHttpClient |
CachingHttpClient.AsynchronousValidationRequest.cachingClient |
Constructor and Description |
---|
AsynchronousValidationRequest(CachingHttpClient.AsynchronousValidator parent,
CachingHttpClient cachingClient,
org.apache.http.HttpHost target,
HttpRequestWrapper request,
org.apache.http.protocol.HttpContext context,
HttpCacheEntry cacheEntry,
java.lang.String identifier)
Used internally by
AsynchronousValidator to schedule a
revalidation. |
AsynchronousValidator(CachingHttpClient cachingClient,
CacheConfig config)
Create AsynchronousValidator which will make revalidation requests
using the supplied
CachingHttpClient , and
a ThreadPoolExecutor generated according to the thread
pool settings provided in the given CacheConfig . |
AsynchronousValidator(CachingHttpClient cachingClient,
java.util.concurrent.ExecutorService executor)
Create AsynchronousValidator which will make revalidation requests
using the supplied
CachingHttpClient and
ExecutorService . |