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
Methods 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
Methods in org.apache.hc.client5.http.impl.cache that return HttpCacheEntryModifier and TypeMethodDescriptionfinal HttpCacheEntryGets an entry from the cache, if it existsMethods 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 TypeMethodDescriptionCacheKeyGenerator.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. if the request has a VARY header the identifier will also include variant key.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.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) Method parameters in org.apache.hc.client5.http.impl.cache with type arguments of type HttpCacheEntryModifier and TypeMethodDescriptionfinal 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)