## 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 and Description
    --- | ---
    `HttpCacheEntry` | HttpCacheEntryFactory.`copy(HttpCacheEntry entry)` Creates a copy of the given `HttpCacheEntry`.
    `HttpCacheEntry` | HttpCacheEntryFactory.`create(Instant requestInstant, 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 new `HttpCacheEntry` with the given `Resource`.
    `HttpCacheEntry` | HttpCacheEntryFactory.`createRoot(HttpCacheEntry latestVariant, Collection<String> variants)` Creates a new root `HttpCacheEntry` (parent of multiple variants).
    `HttpCacheEntry` | HttpCacheEntryFactory.`createUpdated(Instant requestInstant, 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.
    `HttpCacheEntry` | HttpCacheCASOperation.`execute(HttpCacheEntry existing)` Returns the new cache entry that should replace an existing one.
    `HttpCacheEntry` | HttpCacheContext.`getCacheEntry()` Represents the cache entry the resource of which has been used to generate the response.
    `HttpCacheEntry` | HttpCacheStorageEntry.`getContent()`
    `HttpCacheEntry` | HttpCacheStorage.`getEntry(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 and Description
    --- | ---
    `Map<String,HttpCacheEntry>` | HttpCacheStorage.`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 HttpCacheEntry
    Modifier and Type | Method and Description
    --- | ---
    `HttpCacheEntry` | HttpCacheEntryFactory.`copy(HttpCacheEntry entry)` Creates a copy of the given `HttpCacheEntry`.
    `HttpCacheEntry` | HttpCacheEntryFactory.`createRoot(HttpCacheEntry latestVariant, Collection<String> variants)` Creates a new root `HttpCacheEntry` (parent of multiple variants).
    `HttpCacheEntry` | HttpCacheEntryFactory.`createUpdated(Instant requestInstant, 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.
    `HttpCacheEntry` | HttpCacheCASOperation.`execute(HttpCacheEntry existing)` Returns the new cache entry that should replace an existing one.
    `static boolean` | HttpCacheEntry.`isNewer(HttpCacheEntry entry, org.apache.hc.core5.http.MessageHeaders message)` Tests if the given `HttpCacheEntry` is newer than the given `MessageHeaders` by comparing values of their DATE header.
    `void` | HttpCacheStorage.`putEntry(String key, HttpCacheEntry entry)` Store a given cache entry under the given key.
    `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` | HttpCacheContext.`setCacheEntry(HttpCacheEntry cacheEntry)`

    Method parameters in org.apache.hc.client5.http.cache with type arguments of type HttpCacheEntry
    Modifier and Type | Method and Description
    --- | ---
    `org.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
    Constructor and Description
    `HttpCacheStorageEntry(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 and Description
    --- | ---
    `HttpCacheEntry` | InternalCacheStorage.`get(String key)`
    `HttpCacheEntry` | AbstractSerializingCacheStorage.`getEntry(String key)`
    `HttpCacheEntry` | BasicHttpCacheStorage.`getEntry(String url)` Gets an entry from the cache, if it exists
    `HttpCacheEntry` | ManagedHttpCacheStorage.`getEntry(String url)`
    `HttpCacheEntry` | InternalCacheStorage.`remove(String key)`

    Methods in org.apache.hc.client5.http.impl.cache that return types with arguments of type HttpCacheEntry
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,HttpCacheEntry>` | AbstractSerializingCacheStorage.`getEntries(Collection<String> keys)`
    `Map<String,HttpCacheEntry>` | BasicHttpCacheStorage.`getEntries(Collection<String> keys)`
    `Map<String,HttpCacheEntry>` | ManagedHttpCacheStorage.`getEntries(Collection<String> keys)`

    Methods in org.apache.hc.client5.http.impl.cache with parameters of type HttpCacheEntry
    Modifier and Type | Method and Description
    --- | ---
    `String` | CacheKeyGenerator.`generateKey(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry)` Deprecated. Use `CacheKeyGenerator.generateKey(HttpHost, HttpRequest)` or `CacheKeyGenerator.generateVariantKey(HttpRequest, Collection)`
    `String` | CacheKeyGenerator.`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 (`Vary` header is present).
    `void` | InternalCacheStorage.`put(String key, HttpCacheEntry entry)`
    `void` | AbstractSerializingCacheStorage.`putEntry(String key, HttpCacheEntry entry)`
    `void` | BasicHttpCacheStorage.`putEntry(String url, HttpCacheEntry entry)` Places a HttpCacheEntry in the cache
    `void` | ManagedHttpCacheStorage.`putEntry(String url, HttpCacheEntry entry)`
    `org.apache.hc.core5.concurrent.Cancellable` | AbstractSerializingAsyncCacheStorage.`putEntry(String key, HttpCacheEntry entry, org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback)`

    Method parameters in org.apache.hc.client5.http.impl.cache with type arguments of type HttpCacheEntry
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.hc.core5.concurrent.Cancellable` | AbstractSerializingAsyncCacheStorage.`getEntries(Collection<String> keys, org.apache.hc.core5.concurrent.FutureCallback<Map<String,HttpCacheEntry>> callback)`
    `org.apache.hc.core5.concurrent.Cancellable` | AbstractSerializingAsyncCacheStorage.`getEntry(String key, org.apache.hc.core5.concurrent.FutureCallback<HttpCacheEntry> callback)`

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.