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.memcached |
Memcached based caching backend
implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpAsyncCacheStorageAdaptor
HttpAsyncCacheStorage implementation that emulates asynchronous
behavior using an instance of classic HttpCacheStorage . |
Modifier and Type | Method and Description |
---|---|
org.apache.hc.core5.concurrent.Cancellable |
HttpAsyncCacheInvalidator.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,
HttpAsyncCacheStorage cacheStorage,
org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback)
Deprecated.
Flush
HttpCacheEntry s invalidated by the given message exchange. |
org.apache.hc.core5.concurrent.Cancellable |
HttpAsyncCacheInvalidator.flushCacheEntriesInvalidatedByRequest(org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.function.Resolver<URI,String> cacheKeyResolver,
HttpAsyncCacheStorage cacheStorage,
org.apache.hc.core5.concurrent.FutureCallback<Boolean> callback)
Deprecated.
Flush
HttpCacheEntry s invalidated by the given request. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBinaryAsyncCacheStorage<CAS>
Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.
|
class |
AbstractSerializingAsyncCacheStorage<T,CAS>
Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.
|
Modifier and Type | Method and Description |
---|---|
CachingH2AsyncClientBuilder |
CachingH2AsyncClientBuilder.setHttpCacheStorage(HttpAsyncCacheStorage storage) |
CachingHttpAsyncClientBuilder |
CachingHttpAsyncClientBuilder.setHttpCacheStorage(HttpAsyncCacheStorage storage) |
Modifier and Type | Class and Description |
---|---|
class |
MemcachedHttpAsyncCacheStorage
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.