Uses of Interface
org.apache.hc.client5.http.cache.HttpCacheStorage
-
Packages that use HttpCacheStorage 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 HttpCacheStorage in org.apache.hc.client5.http.cache
Fields in org.apache.hc.client5.http.cache declared as HttpCacheStorage Modifier and Type Field Description private HttpCacheStorage
HttpAsyncCacheStorageAdaptor. cacheStorage
Methods in org.apache.hc.client5.http.cache with parameters of type HttpCacheStorage Modifier and Type Method Description void
HttpCacheInvalidator. flushCacheEntriesInvalidatedByExchange(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpCacheStorage cacheStorage)
FlushHttpCacheEntry
s invalidated by the given message exchange.void
HttpCacheInvalidator. flushCacheEntriesInvalidatedByRequest(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpCacheStorage cacheStorage)
FlushHttpCacheEntry
s invalidated by the given request.Constructors in org.apache.hc.client5.http.cache with parameters of type HttpCacheStorage Constructor Description HttpAsyncCacheStorageAdaptor(HttpCacheStorage cacheStorage)
-
Uses of HttpCacheStorage in org.apache.hc.client5.http.impl.cache
Classes in org.apache.hc.client5.http.impl.cache that implement HttpCacheStorage Modifier and Type Class Description class
AbstractBinaryCacheStorage<CAS>
Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.class
AbstractSerializingCacheStorage<T,CAS>
Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.class
BasicHttpCacheStorage
BasicHttpCacheStorage
implementation backed by an instance ofLinkedHashMap
.class
ManagedHttpCacheStorage
HttpCacheStorage
implementation capable of deallocating resources associated with the cache entries.Fields in org.apache.hc.client5.http.impl.cache declared as HttpCacheStorage Modifier and Type Field Description private HttpCacheStorage
BasicHttpCache. storage
private HttpCacheStorage
CachingHttpClientBuilder. storage
Methods in org.apache.hc.client5.http.impl.cache with parameters of type HttpCacheStorage Modifier and Type Method Description private boolean
DefaultCacheInvalidator. flushAbsoluteUriFromSameHost(java.net.URI requestUri, java.net.URI uri, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpCacheStorage storage)
void
DefaultCacheInvalidator. flushCacheEntriesInvalidatedByExchange(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpCacheStorage storage)
void
DefaultCacheInvalidator. flushCacheEntriesInvalidatedByRequest(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpCacheStorage storage)
private void
DefaultCacheInvalidator. flushLocationCacheEntry(org.apache.hc.core5.http.HttpResponse response, java.net.URI location, HttpCacheStorage storage, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver)
private void
DefaultCacheInvalidator. flushRelativeUriFromSameHost(java.net.URI requestUri, java.net.URI uri, org.apache.hc.core5.function.Resolver<java.net.URI,java.lang.String> cacheKeyResolver, HttpCacheStorage storage)
private HttpCacheEntry
DefaultCacheInvalidator. getEntry(HttpCacheStorage storage, java.lang.String cacheKey)
private void
DefaultCacheInvalidator. removeEntry(HttpCacheStorage storage, java.lang.String cacheKey)
CachingH2AsyncClientBuilder
CachingH2AsyncClientBuilder. setHttpCacheStorage(HttpCacheStorage storage)
CachingHttpAsyncClientBuilder
CachingHttpAsyncClientBuilder. setHttpCacheStorage(HttpCacheStorage storage)
CachingHttpClientBuilder
CachingHttpClientBuilder. setHttpCacheStorage(HttpCacheStorage storage)
Constructors in org.apache.hc.client5.http.impl.cache with parameters of type HttpCacheStorage Constructor Description BasicHttpCache(ResourceFactory resourceFactory, HttpCacheStorage storage)
BasicHttpCache(ResourceFactory resourceFactory, HttpCacheStorage storage, CacheKeyGenerator cacheKeyGenerator)
BasicHttpCache(ResourceFactory resourceFactory, HttpCacheStorage storage, CacheKeyGenerator cacheKeyGenerator, HttpCacheInvalidator cacheInvalidator)
CachingExec(ResourceFactory resourceFactory, HttpCacheStorage storage, java.util.concurrent.ScheduledExecutorService executorService, SchedulingStrategy schedulingStrategy, CacheConfig config)
-