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.
|
org.apache.hc.client5.http.impl.cache.ehcache |
Ehcache based caching backend implementation.
|
org.apache.hc.client5.http.impl.cache.memcached |
Memcached based caching backend
implementation.
|
Modifier and Type | Method and 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<URI,String> cacheKeyResolver,
HttpCacheStorage cacheStorage)
Deprecated.
Flush
HttpCacheEntry 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<URI,String> cacheKeyResolver,
HttpCacheStorage cacheStorage)
Deprecated.
Flush
HttpCacheEntry s invalidated by the given request. |
Constructor and Description |
---|
HttpAsyncCacheStorageAdaptor(HttpCacheStorage cacheStorage) |
Modifier and Type | Class and 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
Basic
HttpCacheStorage implementation backed by an instance of
LinkedHashMap . |
class |
ManagedHttpCacheStorage
HttpCacheStorage implementation capable of deallocating resources associated with
the cache entries. |
Modifier and Type | Method and Description |
---|---|
CachingH2AsyncClientBuilder |
CachingH2AsyncClientBuilder.setHttpCacheStorage(HttpCacheStorage storage) |
CachingHttpAsyncClientBuilder |
CachingHttpAsyncClientBuilder.setHttpCacheStorage(HttpCacheStorage storage) |
CachingHttpClientBuilder |
CachingHttpClientBuilder.setHttpCacheStorage(HttpCacheStorage storage) |
Modifier and Type | Class and Description |
---|---|
class |
EhcacheHttpCacheStorage<T>
This class is a storage backend for cache entries that uses the
popular Ehcache cache implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
MemcachedHttpCacheStorage
This class is a storage backend that uses an external memcached
for storing cached origin responses.
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.