Uses of Class
org.apache.hc.client5.http.cache.HttpCacheEntry
Packages that use HttpCacheEntry
Package
Description
Caching APIs for both the classic and the asynchronous
HTTP transports.
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
Uses of HttpCacheEntry in org.apache.hc.client5.http.cache
Fields in org.apache.hc.client5.http.cache declared as HttpCacheEntryMethods in org.apache.hc.client5.http.cache that return HttpCacheEntryModifier and TypeMethodDescriptionHttpCacheCASOperation.execute
(HttpCacheEntry existing) Returns the new cache entry that should replace an existing one.HttpCacheStorageEntry.getContent()
Retrieves the cache entry stored under the given key or null if no entry exists under that key.Methods in org.apache.hc.client5.http.cache that return types with arguments of type HttpCacheEntryModifier and TypeMethodDescriptionHttpCacheStorage.getEntries
(Collection<String> keys) Retrieves multiple cache entries stored under the given keys.Methods in org.apache.hc.client5.http.cache with parameters of type HttpCacheEntryModifier and TypeMethodDescriptionHttpCacheCASOperation.execute
(HttpCacheEntry existing) Returns the new cache entry that should replace an existing one.org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCacheStorage.putEntry
(String key, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback) Store a given cache entry under the given key.org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCacheStorageAdaptor.putEntry
(String key, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback) void
HttpCacheStorage.putEntry
(String key, HttpCacheEntry entry) Store a given cache entry under the given key.Method parameters in org.apache.hc.client5.http.cache with type arguments of type HttpCacheEntryModifier and TypeMethodDescriptionorg.apache.hc.core5.concurrent.Cancellable
HttpAsyncCacheStorage.getEntries
(Collection<String> keys, org.apache.hc.core5.concurrent.FutureCallback<Map<String, HttpCacheEntry>> callback) Retrieves multiple cache entries stored under the given keys.org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCacheStorageAdaptor.getEntries
(Collection<String> keys, org.apache.hc.core5.concurrent.FutureCallback<Map<String, HttpCacheEntry>> callback) org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCacheStorage.getEntry
(String key, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) Retrieves the cache entry stored under the given key or null if no entry exists under that key.org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCacheStorageAdaptor.getEntry
(String key, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) Constructors in org.apache.hc.client5.http.cache with parameters of type HttpCacheEntry -
Uses of HttpCacheEntry in org.apache.hc.client5.http.impl.cache
Fields in org.apache.hc.client5.http.impl.cache declared as HttpCacheEntryFields in org.apache.hc.client5.http.impl.cache with type parameters of type HttpCacheEntryModifier and TypeFieldDescriptionprivate final ReferenceQueue
<HttpCacheEntry> ManagedHttpCacheStorage.morque
Methods in org.apache.hc.client5.http.impl.cache that return HttpCacheEntryModifier and TypeMethodDescriptionBasicHttpCache.createCacheEntry
(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) CacheUpdateHandler.createCacheEntry
(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) Creates a cache entry for the given request, origin response message and response content.HttpCache.createCacheEntry
(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) Store aHttpResponse
in the cache if possible, and returnBasicHttpCache.getCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request) HttpCache.getCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request) Retrieve matchingHttpCacheEntry
from the cache if it exists.final HttpCacheEntry
Gets an entry from the cache, if it existsprivate HttpCacheEntry
DefaultCacheInvalidator.getEntry
(HttpCacheStorage storage, String cacheKey) Variant.getEntry()
BasicHttpCache.updateCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry stale, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) CacheUpdateHandler.updateCacheEntry
(String requestId, HttpCacheEntry entry, Instant requestDate, Instant responseDate, org.apache.hc.core5.http.HttpResponse response) Update the entry with the new information from the response.HttpCache.updateCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry stale, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) Update aHttpCacheEntry
using a 304HttpResponse
.CacheUpdateHandler.updateParentCacheEntry
(String requestId, HttpCacheEntry existing, HttpCacheEntry entry, String variantKey, String variantCacheKey) BasicHttpCache.updateVariantCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Variant variant, Instant requestSent, Instant responseReceived) HttpCache.updateVariantCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Variant variant, Instant requestSent, Instant responseReceived) Update a specificHttpCacheEntry
representing a cached variant using a 304HttpResponse
.Methods in org.apache.hc.client5.http.impl.cache that return types with arguments of type HttpCacheEntryModifier and TypeMethodDescriptionfinal Map
<String, HttpCacheEntry> AbstractSerializingCacheStorage.getEntries
(Collection<String> keys) BasicHttpCacheStorage.getEntries
(Collection<String> keys) ManagedHttpCacheStorage.getEntries
(Collection<String> keys) Methods in org.apache.hc.client5.http.impl.cache with parameters of type HttpCacheEntryModifier and TypeMethodDescriptionboolean
CachedResponseSuitabilityChecker.allConditionalsMatch
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) Check that conditionals that are part of this request matchConditionalRequestBuilder.buildConditionalRequest
(T request, HttpCacheEntry cacheEntry) When aHttpCacheEntry
is stale but 'might' be used as a response to anHttpRequest
we will attempt to revalidate the entry with the origin.private boolean
CachedResponseSuitabilityChecker.cacheEntryDoesNotContainMethodAndEntity
(HttpCacheEntry entry) boolean
CachedResponseSuitabilityChecker.canCachedResponseBeUsed
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) Determine if I can utilize aHttpCacheEntry
to respond to the givenHttpRequest
protected boolean
CacheValidityPolicy.contentLengthHeaderMatchesActualLength
(HttpCacheEntry entry) This matters for deciding whether the cache entry is valid to serve as a response.private boolean
CachedResponseSuitabilityChecker.entryIsNotA204Response
(HttpCacheEntry entry) private boolean
CachedResponseSuitabilityChecker.etagValidatorMatches
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) Check entry against If-None-Match(package private) boolean
CachingExecBase.explicitFreshnessRequest
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) (package private) SimpleHttpResponse
CachingExecBase.generateCachedResponse
(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, HttpCacheEntry entry, Instant now) BasicHttpAsyncCache.generateKey
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry cacheEntry) BasicHttpCache.generateKey
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry cacheEntry) CacheKeyGenerator.generateKey
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) Computes a key for the givenHttpHost
andHttpRequest
that can be used as a unique identifier for cached resources.HttpAsyncCache.generateKey
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry cacheEntry) HttpCache.generateKey
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry cacheEntry) (package private) SimpleHttpResponse
CachedHttpResponseGenerator.generateNotModifiedResponse
(HttpCacheEntry entry) Generate a 304 - Not Modified response from theHttpCacheEntry
.(package private) SimpleHttpResponse
CachedHttpResponseGenerator.generateResponse
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) If it is legal to use cached content in response response to theHttpRequest
then generate anHttpResponse
based onHttpCacheEntry
.CacheKeyGenerator.generateVariantKey
(org.apache.hc.core5.http.HttpRequest req, HttpCacheEntry entry) Computes a "variant key" from the headers of a given request that are covered by the Vary header of a given cache entry.protected long
CacheValidityPolicy.getAgeValue
(HttpCacheEntry entry) protected org.apache.hc.core5.util.TimeValue
CacheValidityPolicy.getApparentAge
(HttpCacheEntry entry) protected org.apache.hc.core5.util.TimeValue
CacheValidityPolicy.getCorrectedInitialAge
(HttpCacheEntry entry) protected org.apache.hc.core5.util.TimeValue
CacheValidityPolicy.getCorrectedReceivedAge
(HttpCacheEntry entry) org.apache.hc.core5.util.TimeValue
CacheValidityPolicy.getCurrentAge
(HttpCacheEntry entry, Instant now) org.apache.hc.core5.util.TimeValue
HttpByteArrayCacheEntrySerializer.NoAgeCacheValidityPolicy.getCurrentAge
(HttpCacheEntry entry, Instant now) org.apache.hc.core5.util.TimeValue
CacheValidityPolicy.getFreshnessLifetime
(HttpCacheEntry entry) org.apache.hc.core5.util.TimeValue
CacheValidityPolicy.getHeuristicFreshnessLifetime
(HttpCacheEntry entry, float coefficient, org.apache.hc.core5.util.TimeValue defaultLifetime) protected long
CacheValidityPolicy.getMaxAge
(HttpCacheEntry entry) protected org.apache.hc.core5.util.TimeValue
CacheValidityPolicy.getResidentTime
(HttpCacheEntry entry, Instant now) protected org.apache.hc.core5.util.TimeValue
CacheValidityPolicy.getResponseDelay
(HttpCacheEntry entry) org.apache.hc.core5.util.TimeValue
CacheValidityPolicy.getStaleness
(HttpCacheEntry entry, Instant now) private void
AsyncCachingExec.handleCacheHit
(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, HttpCacheEntry entry) private org.apache.hc.core5.http.ClassicHttpResponse
CachingExec.handleCacheHit
(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain, HttpCacheEntry entry) (package private) SimpleHttpResponse
CachingExecBase.handleRevalidationFailure
(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, HttpCacheEntry entry, Instant now) boolean
CacheValidityPolicy.hasCacheControlDirective
(HttpCacheEntry entry, String directive) private boolean
CachedResponseSuitabilityChecker.hasUnsupportedCacheEntryForGet
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) (package private) static boolean
CacheInvalidatorBase.isAHeadCacheEntry
(HttpCacheEntry parentCacheEntry) private boolean
CachedResponseSuitabilityChecker.isFreshEnough
(HttpCacheEntry entry, org.apache.hc.core5.http.HttpRequest request, Instant now) boolean
CacheValidityPolicy.isResponseFresh
(HttpCacheEntry entry, Instant now) boolean
CacheValidityPolicy.isResponseHeuristicallyFresh
(HttpCacheEntry entry, Instant now, float coefficient, org.apache.hc.core5.util.TimeValue defaultLifetime) Decides if this response is fresh enough based Last-Modified and Date, if available.boolean
CacheValidityPolicy.isRevalidatable
(HttpCacheEntry entry) private void
ManagedHttpCacheStorage.keepResourceReference
(HttpCacheEntry entry) private boolean
CachedResponseSuitabilityChecker.lastModifiedValidatorMatches
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) Check entry against If-Modified-Since, if If-Modified-Since is in the future it is invalid as per http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.htmlboolean
CacheValidityPolicy.mayReturnStaleIfError
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) boolean
CacheValidityPolicy.mayReturnStaleWhileRevalidating
(HttpCacheEntry entry, Instant now) private org.apache.hc.core5.http.Header[]
CacheUpdateHandler.mergeHeaders
(HttpCacheEntry entry, org.apache.hc.core5.http.HttpResponse response) boolean
CacheValidityPolicy.mustRevalidate
(HttpCacheEntry entry) private boolean
CachedResponseSuitabilityChecker.originInsistsOnFreshness
(HttpCacheEntry entry) boolean
CacheValidityPolicy.proxyRevalidate
(HttpCacheEntry entry) final org.apache.hc.core5.concurrent.Cancellable
AbstractSerializingAsyncCacheStorage.putEntry
(String key, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback) final void
AbstractSerializingCacheStorage.putEntry
(String key, HttpCacheEntry entry) void
BasicHttpCacheStorage.putEntry
(String url, HttpCacheEntry entry) Places a HttpCacheEntry in the cachevoid
ManagedHttpCacheStorage.putEntry
(String url, HttpCacheEntry entry) (package private) static boolean
CacheInvalidatorBase.responseAndEntryEtagsDiffer
(org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry) (package private) static boolean
CacheInvalidatorBase.responseDateOlderThanEntryDate
(org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry) private boolean
CachedHttpResponseGenerator.responseShouldContainEntity
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry cacheEntry) (package private) void
AsyncCachingExec.revalidateCacheEntry
(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, HttpCacheEntry cacheEntry) (package private) org.apache.hc.core5.http.ClassicHttpResponse
CachingExec.revalidateCacheEntry
(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain, HttpCacheEntry cacheEntry) (package private) boolean
CachingExecBase.revalidationResponseIsTooOld
(org.apache.hc.core5.http.HttpResponse backendResponse, HttpCacheEntry cacheEntry) (package private) static boolean
CacheInvalidatorBase.shouldInvalidateHeadCacheEntry
(org.apache.hc.core5.http.HttpRequest req, HttpCacheEntry parentCacheEntry) (package private) boolean
CachingExecBase.shouldSendNotModifiedResponse
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry responseEntry) (package private) boolean
CachingExecBase.staleResponseNotAllowed
(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) (package private) org.apache.hc.core5.concurrent.Cancellable
BasicHttpAsyncCache.storeEntry
(String cacheKey, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback) (package private) void
BasicHttpCache.storeEntry
(String cacheKey, HttpCacheEntry entry) (package private) org.apache.hc.core5.concurrent.Cancellable
BasicHttpAsyncCache.storeInCache
(String cacheKey, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback) (package private) void
BasicHttpCache.storeInCache
(String cacheKey, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) (package private) org.apache.hc.core5.concurrent.Cancellable
BasicHttpAsyncCache.storeVariantEntry
(String cacheKey, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest req, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback) (package private) void
BasicHttpCache.storeVariantEntry
(String cacheKey, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest req, HttpCacheEntry entry) (package private) SimpleHttpResponse
CachingExecBase.unvalidatedCacheHit
(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, HttpCacheEntry entry) org.apache.hc.core5.concurrent.Cancellable
BasicHttpAsyncCache.updateCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry stale, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) BasicHttpCache.updateCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry stale, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) CacheUpdateHandler.updateCacheEntry
(String requestId, HttpCacheEntry entry, Instant requestDate, Instant responseDate, org.apache.hc.core5.http.HttpResponse response) Update the entry with the new information from the response.org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCache.updateCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry stale, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) Update aHttpCacheEntry
using a 304HttpResponse
.HttpCache.updateCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry stale, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived) Update aHttpCacheEntry
using a 304HttpResponse
.CacheUpdateHandler.updateParentCacheEntry
(String requestId, HttpCacheEntry existing, HttpCacheEntry entry, String variantKey, String variantCacheKey) Method parameters in org.apache.hc.client5.http.impl.cache with type arguments of type HttpCacheEntryModifier and TypeMethodDescriptionorg.apache.hc.core5.concurrent.Cancellable
BasicHttpAsyncCache.createCacheEntry
(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<HttpCacheEntry> callback) org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCache.createCacheEntry
(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<HttpCacheEntry> callback) Store aHttpResponse
in the cache if possible, and returnorg.apache.hc.core5.concurrent.Cancellable
BasicHttpAsyncCache.getCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCache.getCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) Retrieve matchingHttpCacheEntry
from the cache if it existsfinal org.apache.hc.core5.concurrent.Cancellable
AbstractSerializingAsyncCacheStorage.getEntries
(Collection<String> keys, org.apache.hc.core5.concurrent.FutureCallback<Map<String, HttpCacheEntry>> callback) final org.apache.hc.core5.concurrent.Cancellable
AbstractSerializingAsyncCacheStorage.getEntry
(String key, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) protected boolean
CacheMap.removeEldestEntry
(Map.Entry<String, HttpCacheEntry> eldest) org.apache.hc.core5.concurrent.Cancellable
BasicHttpAsyncCache.updateCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry stale, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCache.updateCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry stale, org.apache.hc.core5.http.HttpResponse originResponse, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) Update aHttpCacheEntry
using a 304HttpResponse
.org.apache.hc.core5.concurrent.Cancellable
BasicHttpAsyncCache.updateVariantCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Variant variant, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) org.apache.hc.core5.concurrent.Cancellable
HttpAsyncCache.updateVariantCacheEntry
(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse originResponse, Variant variant, Instant requestSent, Instant responseReceived, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) Update a specificHttpCacheEntry
representing a cached variant using a 304HttpResponse
.Constructors in org.apache.hc.client5.http.impl.cache with parameters of type HttpCacheEntryConstructor parameters in org.apache.hc.client5.http.impl.cache with type arguments of type HttpCacheEntryModifierConstructorDescription