Uses of Class
org.apache.hc.client5.http.impl.cache.CacheHit
-
Packages that use CacheHit Package Description org.apache.hc.client5.http.impl.cache 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 CacheHit Modifier and Type Field Description (package private) CacheHitCacheMatch. hit(package private) CacheHitCacheMatch. rootMethods in org.apache.hc.client5.http.impl.cache that return CacheHit Modifier and Type Method Description (package private) CacheHitBasicHttpCache. store(java.lang.String rootKey, java.lang.String variantKey, HttpCacheEntry entry)CacheHitBasicHttpCache. 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, java.time.Instant requestSent, java.time.Instant responseReceived)CacheHitHttpCache. 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, java.time.Instant requestSent, java.time.Instant responseReceived)StoresHttpRequest/HttpResponseexchange details in the cache.CacheHitBasicHttpCache. storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, java.time.Instant requestSent, java.time.Instant responseReceived)CacheHitHttpCache. storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, java.time.Instant requestSent, java.time.Instant responseReceived)CacheHitBasicHttpCache. update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, java.time.Instant requestSent, java.time.Instant responseReceived)CacheHitHttpCache. update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, java.time.Instant requestSent, java.time.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 CacheHit Modifier and Type Method Description java.util.List<CacheHit>BasicHttpCache. getVariants(CacheHit hit)java.util.List<CacheHit>HttpCache. getVariants(CacheHit hit)Retrieves variantHttpCacheEntrys for the given hit.Methods in org.apache.hc.client5.http.impl.cache with parameters of type CacheHit Modifier and Type Method Description org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache. getVariants(CacheHit hit, org.apache.hc.core5.concurrent.FutureCallback<java.util.Collection<CacheHit>> callback)java.util.List<CacheHit>BasicHttpCache. getVariants(CacheHit hit)org.apache.hc.core5.concurrent.CancellableHttpAsyncCache. getVariants(CacheHit hit, org.apache.hc.core5.concurrent.FutureCallback<java.util.Collection<CacheHit>> callback)Retrieves variantHttpCacheEntrys for the given hit.java.util.List<CacheHit>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, java.time.Instant requestSent, java.time.Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback)CacheHitBasicHttpCache. storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, java.time.Instant requestSent, java.time.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, java.time.Instant requestSent, java.time.Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback)CacheHitHttpCache. storeFromNegotiated(CacheHit negotiated, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, java.time.Instant requestSent, java.time.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, java.time.Instant requestSent, java.time.Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<CacheHit> callback)CacheHitBasicHttpCache. update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, java.time.Instant requestSent, java.time.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, java.time.Instant requestSent, java.time.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.CacheHitHttpCache. update(CacheHit stale, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, java.time.Instant requestSent, java.time.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 CacheHit Modifier and Type Method Description org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache. getVariants(CacheHit hit, org.apache.hc.core5.concurrent.FutureCallback<java.util.Collection<CacheHit>> callback)org.apache.hc.core5.concurrent.CancellableHttpAsyncCache. getVariants(CacheHit hit, org.apache.hc.core5.concurrent.FutureCallback<java.util.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, java.util.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, java.util.List<CacheHit> variants)(package private) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache. store(java.lang.String rootKey, java.lang.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, java.time.Instant requestSent, java.time.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, java.time.Instant requestSent, java.time.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, java.time.Instant requestSent, java.time.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, java.time.Instant requestSent, java.time.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, java.time.Instant requestSent, java.time.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, java.time.Instant requestSent, java.time.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 Constructor Description CacheMatch(CacheHit hit, CacheHit root)
-