# Package org.apache.hc.client5.http.impl.cache

Caching API implementation for both the classic and the asynchronous HTTP transports.

See: Description

- 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 | Basic `HttpCacheStorage` implementation backed by an instance of `LinkedHashMap`.
  ByteArrayCacheEntrySerializer | `HttpCacheEntrySerializer` implementation that uses the default (native) serialization.
  CacheConfig | Java Beans-style configuration for caching `HttpClient`.
  CacheConfig.Builder |
  CacheKeyGenerator |
  CachingExecBase |
  CachingH2AsyncClientBuilder | Builder for HTTP/2 `CloseableHttpAsyncClient` instances capable of client-side caching.
  CachingHttpAsyncClientBuilder | Builder for `CloseableHttpAsyncClient` instances capable of client-side caching.
  CachingHttpAsyncClients | Factory methods for `CloseableHttpAsyncClient` instances capable of client-side caching.
  CachingHttpClientBuilder | Builder for `CloseableHttpClient` instances capable of client-side caching.
  CachingHttpClients | Factory methods for `CloseableHttpClient` instances capable of client-side caching.
  DateSupport | HTTP cache date support utilities.
  DefaultAsyncCacheInvalidator | Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.
  DefaultCacheInvalidator | Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.
  FileResource | Cache resource backed by a file.
  FileResourceFactory | Generates `Resource` instances whose body is stored in a temporary file.
  HeapResource | Cache resource backed by a byte array on the heap.
  HeapResourceFactory | Generates `Resource` instances stored entirely in heap.
  HttpByteArrayCacheEntrySerializer | Cache serializer and deserializer that uses an HTTP-like format.
  HttpCacheSupport | HTTP cache support utilities.
  ManagedHttpCacheStorage | `HttpCacheStorage` implementation capable of deallocating resources associated with the cache entries.
  NoopCacheEntrySerializer | `HttpCacheEntrySerializer` that uses `HttpCacheStorageEntry` as its cache content representation.

## Package org.apache.hc.client5.http.impl.cache Description

Caching API implementation for both the classic and the asynchronous HTTP transports.

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