Package org.apache.hc.client5.http.impl.cache
package org.apache.hc.client5.http.impl.cache
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
ClassDescriptionAbstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.Request executor in the request execution chain that is responsible for transparent client-side caching.Basic
HttpCacheStorageimplementation backed by an instance ofLinkedHashMap.Should produce reasonably unique tokens.HttpCacheEntrySerializerimplementation that uses the default (native) serialization.Determines if an HttpRequest is allowed to be served from the cache.Java Beans-style configuration for cachingHttpClient.Rebuilds anHttpResponsefrom aHttpCacheEntryDetermines whether a givenHttpCacheEntryis suitable to be used as a response for a givenHttpRequest.Abstract cache re-validation class.Creates newHttpCacheEntrys and updates existing ones with new or updated information based on the response from the origin server.Request executor in the request execution chain that is responsible for transparent client-side caching.Builder for HTTP/2CloseableHttpAsyncClientinstances capable of client-side caching.Builder forCloseableHttpAsyncClientinstances capable of client-side caching.Factory methods forCloseableHttpAsyncClientinstances capable of client-side caching.Builder forCloseableHttpClientinstances capable of client-side caching.Factory methods forCloseableHttpClientinstances capable of client-side caching.ConditionalRequestBuilder<T extends org.apache.hc.core5.http.HttpRequest>HTTP cache date support utilities.Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.Class used for asynchronous revalidations to be used when thestale-while-revalidatedirective is presentGiven a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.Class used for asynchronous revalidations to be used when thestale-while-revalidatedirective is presentCache resource backed by a file.GeneratesResourceinstances whose body is stored in a temporary file.Cache resource backed by a byte array on the heap.GeneratesResourceinstances stored entirely in heap.Cache serializer and deserializer that uses an HTTP-like format.Cache validity policy that always returns an age ofTimeValue.ZERO_MILLISECONDS.Writer for SimpleHttpResponse.HTTP cache support utilities.HttpCacheStorageimplementation capable of deallocating resources associated with the cache entries.HttpCacheEntrySerializerthat usesHttpCacheStorageEntryas its cache content representation.Records a set of information describing a cached variant.This class provides for parsing and understanding Warning headers.