Package | Description |
---|---|
org.apache.http.impl.client.cache |
HTTP/1.1 client-side caching.
|
Modifier and Type | Field and Description |
---|---|
private CachingHttpAsyncClient |
AsynchronousAsyncValidator.cachingAsyncClient |
private CachingHttpAsyncClient |
AsynchronousAsyncValidationRequest.cachingAsyncClient |
Constructor and Description |
---|
AsynchronousAsyncValidationRequest(AsynchronousAsyncValidator parent,
CachingHttpAsyncClient cachingClient,
org.apache.http.HttpHost target,
org.apache.http.client.methods.HttpRequestWrapper request,
org.apache.http.client.cache.HttpCacheContext clientContext,
org.apache.http.client.cache.HttpCacheEntry cacheEntry,
java.lang.String identifier)
Used internally by
AsynchronousValidator to schedule a
revalidation. |
AsynchronousAsyncValidator(CachingHttpAsyncClient cachingClient,
org.apache.http.impl.client.cache.CacheConfig config)
Create AsynchronousValidator which will make revalidation requests using
the supplied
CachingHttpAsyncClient , and a ThreadPoolExecutor
generated according to the thread pool settings provided in the given
CacheConfig . |
AsynchronousAsyncValidator(CachingHttpAsyncClient cachingClient,
java.util.concurrent.ExecutorService executor)
Create AsynchronousValidator which will make revalidation requests using
the supplied
CachingHttpAsyncClient and ExecutorService . |