Class AsynchronousAsyncValidationRequest
- java.lang.Object
-
- org.apache.http.impl.client.cache.AsynchronousAsyncValidationRequest
-
- All Implemented Interfaces:
java.lang.Runnable
class AsynchronousAsyncValidationRequest extends java.lang.Object implements java.lang.RunnableClass used to represent an asynchronous revalidation event, such as with "stale-while-revalidate"
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.http.client.cache.HttpCacheEntrycacheEntryprivate CachingHttpAsyncClientcachingAsyncClientprivate org.apache.http.client.cache.HttpCacheContextclientContextprivate java.lang.Stringidentifierprivate org.apache.commons.logging.Loglogprivate AsynchronousAsyncValidatorparentprivate org.apache.http.client.methods.HttpRequestWrapperrequestprivate org.apache.http.HttpHosttarget
-
Constructor Summary
Constructors Constructor 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 byAsynchronousValidatorto schedule a revalidation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.StringgetIdentifier()voidrun()
-
-
-
Field Detail
-
parent
private final AsynchronousAsyncValidator parent
-
cachingAsyncClient
private final CachingHttpAsyncClient 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
private final java.lang.String identifier
-
log
private final org.apache.commons.logging.Log log
-
-
Constructor Detail
-
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, java.lang.String identifier)
Used internally byAsynchronousValidatorto schedule a revalidation.
-
-