Uses of Class
org.apache.hc.client5.http.impl.cache.CacheHit
Packages that use CacheHit
Package
Description
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
Uses of CacheHit in org.apache.hc.client5.http.impl.cache
Fields in org.apache.hc.client5.http.impl.cache declared as CacheHitModifier and TypeFieldDescription(package private) final CacheHitCacheMatch.hit(package private) final CacheHitCacheMatch.rootMethods in org.apache.hc.client5.http.impl.cache that return CacheHitModifier and TypeMethodDescription(package private) CacheHitBasicHttpCache.store(String rootKey, String variantKey, HttpCacheEntry entry) BasicHttpCache.store(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, org.apache.hc.core5.util.ByteArrayBuffer content, Instant requestSent, Instant responseReceived) HttpCache.store(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, org.apache.hc.core5.util.ByteArrayBuffer content, Instant requestSent, Instant responseReceived) StoresHttpRequest/HttpResponseexchange details in the cache.BasicHttpCache.storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) HttpCache.storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) BasicHttpCache.update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) HttpCache.update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) UpdatesHttpCacheEntryusing details from a 304HttpResponseand updates the root entry if the given cache entry represents a variant.Methods in org.apache.hc.client5.http.impl.cache that return types with arguments of type CacheHitModifier and TypeMethodDescriptionBasicHttpCache.getVariants(CacheHit hit) HttpCache.getVariants(CacheHit hit) Retrieves variantHttpCacheEntrys for the given hit.Methods in org.apache.hc.client5.http.impl.cache with parameters of type CacheHitModifier and TypeMethodDescriptionorg.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.getVariants(CacheHit hit, org.apache.hc.core5.concurrent.FutureCallback<Collection<CacheHit>> callback) BasicHttpCache.getVariants(CacheHit hit) org.apache.hc.core5.concurrent.CancellableHttpAsyncCache.getVariants(CacheHit hit, org.apache.hc.core5.concurrent.FutureCallback<Collection<CacheHit>> callback) Retrieves variantHttpCacheEntrys for the given hit.HttpCache.getVariants(CacheHit hit) Retrieves variantHttpCacheEntrys for the given hit.private voidAsyncCachingExec.handleCacheHit(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) private org.apache.hc.core5.http.ClassicHttpResponseCachingExec.handleCacheHit(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain) private voidAsyncCachingExec.handleCacheMiss(RequestCacheControl requestCacheControl, CacheHit partialMatch, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) private org.apache.hc.core5.http.ClassicHttpResponseCachingExec.handleCacheMiss(RequestCacheControl requestCacheControl, CacheHit partialMatch, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain) (package private) voidAsyncCachingExec.revalidateCacheEntry(ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) (package private) org.apache.hc.core5.http.ClassicHttpResponseCachingExec.revalidateCacheEntry(ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain) (package private) voidAsyncCachingExec.revalidateCacheEntryWithFallback(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) (package private) org.apache.hc.core5.http.ClassicHttpResponseCachingExec.revalidateCacheEntryWithFallback(RequestCacheControl requestCacheControl, ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain) (package private) voidAsyncCachingExec.revalidateCacheEntryWithoutFallback(ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) (package private) org.apache.hc.core5.http.ClassicHttpResponseCachingExec.revalidateCacheEntryWithoutFallback(ResponseCacheControl responseCacheControl, CacheHit hit, org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) BasicHttpCache.storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) org.apache.hc.core5.concurrent.CancellableHttpAsyncCache.storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) HttpCache.storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) BasicHttpCache.update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) org.apache.hc.core5.concurrent.CancellableHttpAsyncCache.update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) UpdatesHttpCacheEntryusing details from a 304HttpResponseand updates the root entry if the given cache entry represents a variant.HttpCache.update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) UpdatesHttpCacheEntryusing details from a 304HttpResponseand updates the root entry if the given cache entry represents a variant.Method parameters in org.apache.hc.client5.http.impl.cache with type arguments of type CacheHitModifier and TypeMethodDescriptionorg.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.getVariants(CacheHit hit, org.apache.hc.core5.concurrent.FutureCallback<Collection<CacheHit>> callback) org.apache.hc.core5.concurrent.CancellableHttpAsyncCache.getVariants(CacheHit hit, org.apache.hc.core5.concurrent.FutureCallback<Collection<CacheHit>> callback) Retrieves variantHttpCacheEntrys for the given hit.(package private) voidAsyncCachingExec.negotiateResponseFromVariants(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback, Collection<CacheHit> variants) (package private) org.apache.hc.core5.http.ClassicHttpResponseCachingExec.negotiateResponseFromVariants(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain, List<CacheHit> variants) (package private) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.store(String rootKey, String variantKey, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.store(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, org.apache.hc.core5.util.ByteArrayBuffer content, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) org.apache.hc.core5.concurrent.CancellableHttpAsyncCache.store(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, org.apache.hc.core5.util.ByteArrayBuffer content, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) StoresHttpRequest/HttpResponseexchange details in the cache.org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) org.apache.hc.core5.concurrent.CancellableHttpAsyncCache.storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) org.apache.hc.core5.concurrent.CancellableHttpAsyncCache.update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback) UpdatesHttpCacheEntryusing details from a 304HttpResponseand updates the root entry if the given cache entry represents a variant.Constructors in org.apache.hc.client5.http.impl.cache with parameters of type CacheHit