Package org.apache.hc.client5.http.impl.cache
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
Interface Summary Interface Description CacheRevalidatorBase.ScheduledExecutor DefaultAsyncCacheRevalidator.RevalidationCall DefaultCacheRevalidator.RevalidationCall HttpAsyncCache HttpCache -
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.AsyncCachingExec Request executor in the request execution chain that is responsible for transparent client-side caching.AsyncCachingExec.AsyncExecCallbackWrapper BasicHttpAsyncCache BasicHttpCache BasicHttpCacheStorage BasicHttpCacheStorageimplementation backed by an instance ofLinkedHashMap.BasicIdGenerator Should produce reasonably unique tokens.ByteArrayCacheEntrySerializer HttpCacheEntrySerializerimplementation that uses the default (native) serialization.ByteArrayCacheEntrySerializer.RestrictedObjectInputStream CacheableRequestPolicy Determines if an HttpRequest is allowed to be served from the cache.CacheConfig Java Beans-style configuration for cachingHttpClient.CacheConfig.Builder CachedHttpResponseGenerator Rebuilds anHttpResponsefrom aHttpCacheEntryCachedResponseSuitabilityChecker Determines whether a givenHttpCacheEntryis suitable to be used as a response for a givenHttpRequest.CacheInvalidatorBase CacheKeyGenerator CacheMap CacheRevalidatorBase Abstract cache re-validation class.CacheUpdateHandler Creates newHttpCacheEntrys and updates existing ones with new or updated information based on the response from the origin server.CacheValidityPolicy CachingExec Request executor in the request execution chain that is responsible for transparent client-side caching.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.CombinedEntity ConditionalRequestBuilder<T extends org.apache.hc.core5.http.HttpRequest> DateSupport HTTP cache date support utilities.DefaultAsyncCacheInvalidator Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.DefaultAsyncCacheRevalidator Class used for asynchronous revalidations to be used when thestale-while-revalidatedirective is presentDefaultAsyncCacheRevalidator.InternalScheduledExecutor DefaultCacheInvalidator Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.DefaultCacheRevalidator Class used for asynchronous revalidations to be used when thestale-while-revalidatedirective is presentFileResource 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 Cache serializer and deserializer that uses an HTTP-like format.HttpByteArrayCacheEntrySerializer.NoAgeCacheValidityPolicy Cache validity policy that always returns an age ofTimeValue.ZERO_MILLISECONDS.HttpByteArrayCacheEntrySerializer.SimpleHttpResponseWriter Writer for SimpleHttpResponse.HttpCacheSupport HTTP cache support utilities.ManagedHttpCacheStorage HttpCacheStorageimplementation capable of deallocating resources associated with the cache entries.NoopCacheEntrySerializer HttpCacheEntrySerializerthat usesHttpCacheStorageEntryas its cache content representation.RequestProtocolCompliance ResourceReference ResponseCachingPolicy ResponseProtocolCompliance Variant Records a set of information describing a cached variant.WarningValue This class provides for parsing and understanding Warning headers. -
Enum Summary Enum Description RequestProtocolError