Package org.apache.hc.client5.http.impl.cache
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
Class Summary Class Description AbstractBinaryAsyncCacheStorage<CAS> Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.AbstractBinaryCacheStorage<CAS> Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.AbstractSerializingAsyncCacheStorage<T,CAS> Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.AbstractSerializingCacheStorage<T,CAS> Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.BasicHttpCacheStorage BasicHttpCacheStorageimplementation backed by an instance ofLinkedHashMap.ByteArrayCacheEntrySerializer Deprecated. This class is deprecated and will be removed in a future release.CacheConfig Configuration for HTTP cachesCacheConfig.Builder CacheKeyGenerator CacheSupport HTTP cache support utilities.CachingExecBase CachingH2AsyncClientBuilder Builder for HTTP/2CloseableHttpAsyncClientinstances capable of client-side caching.CachingHttpAsyncClientBuilder Builder forCloseableHttpAsyncClientinstances capable of client-side caching.CachingHttpAsyncClients Factory methods forCloseableHttpAsyncClientinstances capable of client-side caching.CachingHttpClientBuilder Builder forCloseableHttpClientinstances capable of client-side caching.CachingHttpClients Factory methods forCloseableHttpClientinstances capable of client-side caching.FileResource Cache resource backed by a file.FileResourceFactory GeneratesResourceinstances whose body is stored in a temporary file.HeapResource Cache resource backed by a byte array on the heap.HeapResourceFactory GeneratesResourceinstances stored entirely in heap.HttpByteArrayCacheEntrySerializer This class implements theHttpCacheEntrySerializerinterface, which defines the contract for HTTP cache entry serialization and deserialization.HttpCacheSupport Deprecated. Do not use.InternalCacheStorage ManagedHttpCacheStorage HttpCacheStorageimplementation capable of deallocating resources associated with the cache entries.NoopCacheEntrySerializer HttpCacheEntrySerializerthat usesHttpCacheStorageEntryas its cache content representation.