Uses of Class
org.apache.http.impl.client.cache.Variant
-
Packages that use Variant 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. -
-
Uses of Variant in org.apache.http.impl.client.cache
Methods in org.apache.http.impl.client.cache that return types with arguments of type Variant Modifier and Type Method Description private java.util.Map<java.lang.String,Variant>CachingExec. getExistingCacheVariants(org.apache.http.HttpHost target, HttpRequestWrapper request)private java.util.Map<java.lang.String,Variant>CachingHttpClient. getExistingCacheVariants(org.apache.http.HttpHost target, HttpRequestWrapper request)Deprecated.java.util.Map<java.lang.String,Variant>BasicHttpCache. getVariantCacheEntriesWithEtags(org.apache.http.HttpHost host, org.apache.http.HttpRequest request)java.util.Map<java.lang.String,Variant>HttpCache. getVariantCacheEntriesWithEtags(org.apache.http.HttpHost host, org.apache.http.HttpRequest request)Retrieve all variants from the cache, if there are no variants then an emptyMapis returnedMethods in org.apache.http.impl.client.cache with parameters of type Variant Modifier and Type Method Description private HttpCacheEntryCachingExec. getUpdatedVariantEntry(org.apache.http.HttpHost target, HttpRequestWrapper conditionalRequest, java.util.Date requestDate, java.util.Date responseDate, CloseableHttpResponse backendResponse, Variant matchingVariant, HttpCacheEntry matchedEntry)private HttpCacheEntryCachingHttpClient. getUpdatedVariantEntry(org.apache.http.HttpHost target, HttpRequestWrapper conditionalRequest, java.util.Date requestDate, java.util.Date responseDate, org.apache.http.HttpResponse backendResponse, Variant matchingVariant, HttpCacheEntry matchedEntry)Deprecated.voidBasicHttpCache. reuseVariantEntryFor(org.apache.http.HttpHost target, org.apache.http.HttpRequest req, Variant variant)voidHttpCache. reuseVariantEntryFor(org.apache.http.HttpHost target, org.apache.http.HttpRequest req, Variant variant)Specifies cache should reuse the given cached variant to satisfy requests whose varying headers match those of the given client request.private voidCachingExec. tryToUpdateVariantMap(org.apache.http.HttpHost target, HttpRequestWrapper request, Variant matchingVariant)private voidCachingHttpClient. tryToUpdateVariantMap(org.apache.http.HttpHost target, HttpRequestWrapper request, Variant matchingVariant)Deprecated.Method parameters in org.apache.http.impl.client.cache with type arguments of type Variant Modifier and Type Method Description private voidBasicHttpCache. addVariantWithEtag(java.lang.String variantKey, java.lang.String variantCacheKey, java.util.Map<java.lang.String,Variant> variants)HttpRequestWrapperConditionalRequestBuilder. buildConditionalRequestFromVariants(HttpRequestWrapper request, java.util.Map<java.lang.String,Variant> variants)When aHttpCacheEntrydoes not exist for a specificHttpRequestwe attempt to see if an existingHttpCacheEntryis appropriate by building a conditionalHttpRequestusing the variants' ETag values.(package private) CloseableHttpResponseCachingExec. negotiateResponseFromVariants(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware, java.util.Map<java.lang.String,Variant> variants)(package private) org.apache.http.HttpResponseCachingHttpClient. negotiateResponseFromVariants(org.apache.http.HttpHost target, HttpRequestWrapper request, org.apache.http.protocol.HttpContext context, java.util.Map<java.lang.String,Variant> variants)Deprecated.
-