Class AsynchronousAsyncValidationRequest
java.lang.Object
org.apache.http.impl.client.cache.AsynchronousAsyncValidationRequest
- All Implemented Interfaces:
Runnable
Class used to represent an asynchronous revalidation event, such as with
"stale-while-revalidate"
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.http.client.cache.HttpCacheEntry
private final CachingHttpAsyncClient
private final org.apache.http.client.cache.HttpCacheContext
private final String
private final org.apache.commons.logging.Log
private final AsynchronousAsyncValidator
private final org.apache.http.client.methods.HttpRequestWrapper
private final org.apache.http.HttpHost
-
Constructor Summary
ConstructorsConstructorDescriptionAsynchronousAsyncValidationRequest
(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, String identifier) Used internally byAsynchronousValidator
to schedule a revalidation. -
Method Summary
-
Field Details
-
parent
-
cachingAsyncClient
-
target
private final org.apache.http.HttpHost target -
request
private final org.apache.http.client.methods.HttpRequestWrapper request -
clientContext
private final org.apache.http.client.cache.HttpCacheContext clientContext -
cacheEntry
private final org.apache.http.client.cache.HttpCacheEntry cacheEntry -
identifier
-
log
private final org.apache.commons.logging.Log log
-
-
Constructor Details
-
AsynchronousAsyncValidationRequest
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, String identifier) Used internally byAsynchronousValidator
to schedule a revalidation.
-
-
Method Details