Uses of Class
org.apache.hc.client5.http.cache.HttpCacheEntry
-
Packages that use HttpCacheEntry Package Description org.apache.hc.client5.http.cache Caching APIs for both the classic and the asynchronous HTTP transports.org.apache.hc.client5.http.impl.cache 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 HttpCacheEntry Modifier and Type Method Description HttpCacheEntryHttpCacheEntryFactory. copy(HttpCacheEntry entry)Creates a copy of the givenHttpCacheEntry.HttpCacheEntryHttpCacheEntryFactory. create(java.time.Instant requestInstant, java.time.Instant responseInstant, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse response, Resource resource)Create a newHttpCacheEntrywith the givenResource.HttpCacheEntryHttpCacheEntryFactory. createRoot(HttpCacheEntry latestVariant, java.util.Collection<java.lang.String> variants)Creates a new rootHttpCacheEntry(parent of multiple variants).HttpCacheEntryHttpCacheEntryFactory. createUpdated(java.time.Instant requestInstant, java.time.Instant responseInstant, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry)Creates updated entry with the new information from the response.HttpCacheEntryHttpCacheCASOperation. execute(HttpCacheEntry existing)Returns the new cache entry that should replace an existing one.HttpCacheEntryHttpCacheContext. getCacheEntry()Represents the cache entry the resource of which has been used to generate the response.HttpCacheEntryHttpCacheStorageEntry. getContent()HttpCacheEntryHttpCacheStorage. getEntry(java.lang.String key)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 HttpCacheEntry Modifier and Type Method Description java.util.Map<java.lang.String,HttpCacheEntry>HttpCacheStorage. getEntries(java.util.Collection<java.lang.String> keys)Retrieves multiple cache entries stored under the given keys.Methods in org.apache.hc.client5.http.cache with parameters of type HttpCacheEntry Modifier and Type Method Description HttpCacheEntryHttpCacheEntryFactory. copy(HttpCacheEntry entry)Creates a copy of the givenHttpCacheEntry.HttpCacheEntryHttpCacheEntryFactory. createRoot(HttpCacheEntry latestVariant, java.util.Collection<java.lang.String> variants)Creates a new rootHttpCacheEntry(parent of multiple variants).HttpCacheEntryHttpCacheEntryFactory. createUpdated(java.time.Instant requestInstant, java.time.Instant responseInstant, org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse response, HttpCacheEntry entry)Creates updated entry with the new information from the response.HttpCacheEntryHttpCacheCASOperation. execute(HttpCacheEntry existing)Returns the new cache entry that should replace an existing one.static booleanHttpCacheEntry. isNewer(HttpCacheEntry entry, org.apache.hc.core5.http.MessageHeaders message)Tests if the givenHttpCacheEntryis newer than the givenMessageHeadersby comparing values of their DATE header.org.apache.hc.core5.concurrent.CancellableHttpAsyncCacheStorage. putEntry(java.lang.String key, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<java.lang.Boolean> callback)Store a given cache entry under the given key.org.apache.hc.core5.concurrent.CancellableHttpAsyncCacheStorageAdaptor. putEntry(java.lang.String key, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<java.lang.Boolean> callback)voidHttpCacheStorage. putEntry(java.lang.String key, HttpCacheEntry entry)Store a given cache entry under the given key.voidHttpCacheContext. setCacheEntry(HttpCacheEntry cacheEntry)Method parameters in org.apache.hc.client5.http.cache with type arguments of type HttpCacheEntry Modifier and Type Method Description org.apache.hc.core5.concurrent.CancellableHttpAsyncCacheStorage. getEntries(java.util.Collection<java.lang.String> keys, org.apache.hc.core5.concurrent.FutureCallback<java.util.Map<java.lang.String,HttpCacheEntry>> callback)Retrieves multiple cache entries stored under the given keys.org.apache.hc.core5.concurrent.CancellableHttpAsyncCacheStorageAdaptor. getEntries(java.util.Collection<java.lang.String> keys, org.apache.hc.core5.concurrent.FutureCallback<java.util.Map<java.lang.String,HttpCacheEntry>> callback)org.apache.hc.core5.concurrent.CancellableHttpAsyncCacheStorage. getEntry(java.lang.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(java.lang.String key, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback)Constructors in org.apache.hc.client5.http.cache with parameters of type HttpCacheEntry Constructor Description HttpCacheStorageEntry(java.lang.String key, HttpCacheEntry content) -
Uses of HttpCacheEntry in org.apache.hc.client5.http.impl.cache
Methods in org.apache.hc.client5.http.impl.cache that return HttpCacheEntry Modifier and Type Method Description HttpCacheEntryInternalCacheStorage. get(java.lang.String key)HttpCacheEntryAbstractSerializingCacheStorage. getEntry(java.lang.String key)HttpCacheEntryBasicHttpCacheStorage. getEntry(java.lang.String url)Gets an entry from the cache, if it existsHttpCacheEntryManagedHttpCacheStorage. getEntry(java.lang.String url)HttpCacheEntryInternalCacheStorage. remove(java.lang.String key)Methods in org.apache.hc.client5.http.impl.cache that return types with arguments of type HttpCacheEntry Modifier and Type Method Description java.util.Map<java.lang.String,HttpCacheEntry>AbstractSerializingCacheStorage. getEntries(java.util.Collection<java.lang.String> keys)java.util.Map<java.lang.String,HttpCacheEntry>BasicHttpCacheStorage. getEntries(java.util.Collection<java.lang.String> keys)java.util.Map<java.lang.String,HttpCacheEntry>ManagedHttpCacheStorage. getEntries(java.util.Collection<java.lang.String> keys)Methods in org.apache.hc.client5.http.impl.cache with parameters of type HttpCacheEntry Modifier and Type Method Description java.lang.StringCacheKeyGenerator. generateKey(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry)java.lang.StringCacheKeyGenerator. generateVariantKey(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry)Computes a "variant key" from the headers of the given request if the given cache entry can have variants (Varyheader is present).voidInternalCacheStorage. put(java.lang.String key, HttpCacheEntry entry)org.apache.hc.core5.concurrent.CancellableAbstractSerializingAsyncCacheStorage. putEntry(java.lang.String key, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<java.lang.Boolean> callback)voidAbstractSerializingCacheStorage. putEntry(java.lang.String key, HttpCacheEntry entry)voidBasicHttpCacheStorage. putEntry(java.lang.String url, HttpCacheEntry entry)Places a HttpCacheEntry in the cachevoidManagedHttpCacheStorage. putEntry(java.lang.String url, HttpCacheEntry entry)Method parameters in org.apache.hc.client5.http.impl.cache with type arguments of type HttpCacheEntry Modifier and Type Method Description org.apache.hc.core5.concurrent.CancellableAbstractSerializingAsyncCacheStorage. getEntries(java.util.Collection<java.lang.String> keys, org.apache.hc.core5.concurrent.FutureCallback<java.util.Map<java.lang.String,HttpCacheEntry>> callback)org.apache.hc.core5.concurrent.CancellableAbstractSerializingAsyncCacheStorage. getEntry(java.lang.String key, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback)
-