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.CancellableHttpAsyncCacheStorage.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.CancellableHttpAsyncCacheStorageAdaptor.putEntry(String key, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback) voidHttpCacheStorage.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.CancellableHttpAsyncCacheStorage.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.CancellableHttpAsyncCacheStorageAdaptor.getEntries(Collection<String> keys, org.apache.hc.core5.concurrent.FutureCallback<Map<String, HttpCacheEntry>> callback) org.apache.hc.core5.concurrent.CancellableHttpAsyncCacheStorage.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.CancellableHttpAsyncCacheStorageAdaptor.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
Subclasses with type arguments of type HttpCacheEntry in org.apache.hc.client5.http.impl.cacheModifier and TypeClassDescription(package private) final class(package private) classFields 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.morqueMethods 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 aHttpResponsein 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 matchingHttpCacheEntryfrom the cache if it exists.final HttpCacheEntryGets an entry from the cache, if it existsprivate HttpCacheEntryDefaultCacheInvalidator.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 aHttpCacheEntryusing 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 specificHttpCacheEntryrepresenting 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 TypeMethodDescriptionbooleanCachedResponseSuitabilityChecker.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 aHttpCacheEntryis stale but 'might' be used as a response to anHttpRequestwe will attempt to revalidate the entry with the origin.private booleanCachedResponseSuitabilityChecker.cacheEntryDoesNotContainMethodAndEntity(HttpCacheEntry entry) booleanCachedResponseSuitabilityChecker.canCachedResponseBeUsed(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) Determine if I can utilize aHttpCacheEntryto respond to the givenHttpRequestprotected booleanCacheValidityPolicy.contentLengthHeaderMatchesActualLength(HttpCacheEntry entry) This matters for deciding whether the cache entry is valid to serve as a response.private booleanCachedResponseSuitabilityChecker.entryIsNotA204Response(HttpCacheEntry entry) private booleanCachedResponseSuitabilityChecker.etagValidatorMatches(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) Check entry against If-None-Match(package private) booleanCachingExecBase.explicitFreshnessRequest(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) (package private) SimpleHttpResponseCachingExecBase.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 givenHttpHostandHttpRequestthat 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) SimpleHttpResponseCachedHttpResponseGenerator.generateNotModifiedResponse(HttpCacheEntry entry) Generate a 304 - Not Modified response from theHttpCacheEntry.(package private) SimpleHttpResponseCachedHttpResponseGenerator.generateResponse(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) If it is legal to use cached content in response response to theHttpRequestthen generate anHttpResponsebased 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 longCacheValidityPolicy.getAgeValue(HttpCacheEntry entry) protected org.apache.hc.core5.util.TimeValueCacheValidityPolicy.getApparentAge(HttpCacheEntry entry) protected org.apache.hc.core5.util.TimeValueCacheValidityPolicy.getCorrectedInitialAge(HttpCacheEntry entry) protected org.apache.hc.core5.util.TimeValueCacheValidityPolicy.getCorrectedReceivedAge(HttpCacheEntry entry) org.apache.hc.core5.util.TimeValueCacheValidityPolicy.getCurrentAge(HttpCacheEntry entry, Instant now) org.apache.hc.core5.util.TimeValueHttpByteArrayCacheEntrySerializer.NoAgeCacheValidityPolicy.getCurrentAge(HttpCacheEntry entry, Instant now) org.apache.hc.core5.util.TimeValueCacheValidityPolicy.getFreshnessLifetime(HttpCacheEntry entry) org.apache.hc.core5.util.TimeValueCacheValidityPolicy.getHeuristicFreshnessLifetime(HttpCacheEntry entry, float coefficient, org.apache.hc.core5.util.TimeValue defaultLifetime) protected longCacheValidityPolicy.getMaxAge(HttpCacheEntry entry) protected org.apache.hc.core5.util.TimeValueCacheValidityPolicy.getResidentTime(HttpCacheEntry entry, Instant now) protected org.apache.hc.core5.util.TimeValueCacheValidityPolicy.getResponseDelay(HttpCacheEntry entry) org.apache.hc.core5.util.TimeValueCacheValidityPolicy.getStaleness(HttpCacheEntry entry, Instant now) private voidAsyncCachingExec.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.ClassicHttpResponseCachingExec.handleCacheHit(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain, HttpCacheEntry entry) (package private) SimpleHttpResponseCachingExecBase.handleRevalidationFailure(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, HttpCacheEntry entry, Instant now) booleanCacheValidityPolicy.hasCacheControlDirective(HttpCacheEntry entry, String directive) private booleanCachedResponseSuitabilityChecker.hasUnsupportedCacheEntryForGet(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) (package private) static booleanCacheInvalidatorBase.isAHeadCacheEntry(HttpCacheEntry parentCacheEntry) private booleanCachedResponseSuitabilityChecker.isFreshEnough(HttpCacheEntry entry, org.apache.hc.core5.http.HttpRequest request, Instant now) booleanCacheValidityPolicy.isResponseFresh(HttpCacheEntry entry, Instant now) booleanCacheValidityPolicy.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.booleanCacheValidityPolicy.isRevalidatable(HttpCacheEntry entry) private voidManagedHttpCacheStorage.keepResourceReference(HttpCacheEntry entry) private booleanCachedResponseSuitabilityChecker.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.htmlbooleanCacheValidityPolicy.mayReturnStaleIfError(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) booleanCacheValidityPolicy.mayReturnStaleWhileRevalidating(HttpCacheEntry entry, Instant now) private org.apache.hc.core5.http.Header[]CacheUpdateHandler.mergeHeaders(HttpCacheEntry entry, org.apache.hc.core5.http.HttpResponse response) booleanCacheValidityPolicy.mustRevalidate(HttpCacheEntry entry) private booleanCachedResponseSuitabilityChecker.originInsistsOnFreshness(HttpCacheEntry entry) booleanCacheValidityPolicy.proxyRevalidate(HttpCacheEntry entry) final org.apache.hc.core5.concurrent.CancellableAbstractSerializingAsyncCacheStorage.putEntry(String key, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback) final voidAbstractSerializingCacheStorage.putEntry(String key, HttpCacheEntry entry) voidBasicHttpCacheStorage.putEntry(String url, HttpCacheEntry entry) Places a HttpCacheEntry in the cachevoidManagedHttpCacheStorage.putEntry(String url, HttpCacheEntry entry) (package private) static booleanCacheInvalidatorBase.responseAndEntryEtagsDiffer(org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry) (package private) static booleanCacheInvalidatorBase.responseDateOlderThanEntryDate(org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry) private booleanCachedHttpResponseGenerator.responseShouldContainEntity(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry cacheEntry) (package private) voidAsyncCachingExec.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.ClassicHttpResponseCachingExec.revalidateCacheEntry(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, ExecChain.Scope scope, ExecChain chain, HttpCacheEntry cacheEntry) (package private) booleanCachingExecBase.revalidationResponseIsTooOld(org.apache.hc.core5.http.HttpResponse backendResponse, HttpCacheEntry cacheEntry) (package private) static booleanCacheInvalidatorBase.shouldInvalidateHeadCacheEntry(org.apache.hc.core5.http.HttpRequest req, HttpCacheEntry parentCacheEntry) (package private) booleanCachingExecBase.shouldSendNotModifiedResponse(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry responseEntry) (package private) booleanCachingExecBase.staleResponseNotAllowed(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) (package private) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.storeEntry(String cacheKey, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback) (package private) voidBasicHttpCache.storeEntry(String cacheKey, HttpCacheEntry entry) (package private) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.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) voidBasicHttpCache.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.CancellableBasicHttpAsyncCache.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) voidBasicHttpCache.storeVariantEntry(String cacheKey, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest req, HttpCacheEntry entry) (package private) SimpleHttpResponseCachingExecBase.unvalidatedCacheHit(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, HttpCacheEntry entry) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.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.CancellableHttpAsyncCache.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 aHttpCacheEntryusing 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 aHttpCacheEntryusing 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.CancellableBasicHttpAsyncCache.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.CancellableHttpAsyncCache.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 aHttpResponsein the cache if possible, and returnorg.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.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.CancellableHttpAsyncCache.getCacheEntry(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) Retrieve matchingHttpCacheEntryfrom the cache if it existsfinal org.apache.hc.core5.concurrent.CancellableAbstractSerializingAsyncCacheStorage.getEntries(Collection<String> keys, org.apache.hc.core5.concurrent.FutureCallback<Map<String, HttpCacheEntry>> callback) final org.apache.hc.core5.concurrent.CancellableAbstractSerializingAsyncCacheStorage.getEntry(String key, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback) protected booleanCacheMap.removeEldestEntry(Map.Entry<String, HttpCacheEntry> eldest) org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.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.CancellableHttpAsyncCache.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 aHttpCacheEntryusing a 304HttpResponse.org.apache.hc.core5.concurrent.CancellableBasicHttpAsyncCache.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.CancellableHttpAsyncCache.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 specificHttpCacheEntryrepresenting 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