Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

AbstractBinaryAsyncCacheStorage<CAS> - Class in org.apache.hc.client5.http.impl.cache
Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.
AbstractBinaryAsyncCacheStorage(int, HttpCacheEntrySerializer<byte[]>) - Constructor for class org.apache.hc.client5.http.impl.cache.AbstractBinaryAsyncCacheStorage
 
AbstractBinaryAsyncCacheStorage(int) - Constructor for class org.apache.hc.client5.http.impl.cache.AbstractBinaryAsyncCacheStorage
 
AbstractBinaryCacheStorage<CAS> - Class in org.apache.hc.client5.http.impl.cache
Abstract cache backend for serialized binary objects capable of CAS (compare-and-swap) updates.
AbstractBinaryCacheStorage(int, HttpCacheEntrySerializer<byte[]>) - Constructor for class org.apache.hc.client5.http.impl.cache.AbstractBinaryCacheStorage
 
AbstractBinaryCacheStorage(int) - Constructor for class org.apache.hc.client5.http.impl.cache.AbstractBinaryCacheStorage
 
AbstractSerializingAsyncCacheStorage<T,CAS> - Class in org.apache.hc.client5.http.impl.cache
Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.
AbstractSerializingAsyncCacheStorage(int, HttpCacheEntrySerializer<T>) - Constructor for class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
AbstractSerializingCacheStorage<T,CAS> - Class in org.apache.hc.client5.http.impl.cache
Abstract cache backend for serialized objects capable of CAS (compare-and-swap) updates.
AbstractSerializingCacheStorage(int, HttpCacheEntrySerializer<T>) - Constructor for class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
adapt(HttpContext) - Static method in class org.apache.hc.client5.http.cache.HttpCacheContext
 
AGE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
ALLOW - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
AUTHORIZATION - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 

B

BasicHttpCacheStorage - Class in org.apache.hc.client5.http.impl.cache
Basic HttpCacheStorage implementation backed by an instance of LinkedHashMap.
BasicHttpCacheStorage(CacheConfig) - Constructor for class org.apache.hc.client5.http.impl.cache.BasicHttpCacheStorage
 
build() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
 
bulkRestore(Collection<String>, FutureCallback<Map<String, T>>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
bulkRestore(Collection<String>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
bulkRestore(Collection<String>) - Method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
 
bulkRestore(Collection<String>, FutureCallback<Map<String, byte[]>>) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
 
bulkRestore(Collection<String>) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
 
ByteArrayCacheEntrySerializer - Class in org.apache.hc.client5.http.impl.cache
HttpCacheEntrySerializer implementation that uses the default (native) serialization.
ByteArrayCacheEntrySerializer() - Constructor for class org.apache.hc.client5.http.impl.cache.ByteArrayCacheEntrySerializer
 

C

CACHE_CONTROL - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_MAX_AGE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_MAX_STALE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_MIN_FRESH - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_MUST_REVALIDATE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_NO_CACHE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_NO_STORE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_PROXY_REVALIDATE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_RESPONSE_STATUS - Static variable in class org.apache.hc.client5.http.cache.HttpCacheContext
This is the name under which the CacheResponseStatus of a request (for example, whether it resulted in a cache hit) will be recorded if an HttpContext is provided during execution.
CacheConfig - Class in org.apache.hc.client5.http.impl.cache
Java Beans-style configuration for caching HttpClient.
CacheConfig.Builder - Class in org.apache.hc.client5.http.impl.cache
 
CacheKeyGenerator - Class in org.apache.hc.client5.http.impl.cache
 
CacheKeyGenerator() - Constructor for class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
 
CacheResponseStatus - Enum in org.apache.hc.client5.http.cache
This enumeration represents the various ways a response can be generated by the caching HttpClient; if a request is executed with an HttpCacheContext then a parameter with one of these values will be registered in the context under the key HttpCacheContext.CACHE_RESPONSE_STATUS.
CachingExecBase - Class in org.apache.hc.client5.http.impl.cache
 
CachingH2AsyncClientBuilder - Class in org.apache.hc.client5.http.impl.cache
Builder for HTTP/2 CloseableHttpAsyncClient instances capable of client-side caching.
CachingH2AsyncClientBuilder() - Constructor for class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
CachingHttpAsyncClientBuilder - Class in org.apache.hc.client5.http.impl.cache
Builder for CloseableHttpAsyncClient instances capable of client-side caching.
CachingHttpAsyncClientBuilder() - Constructor for class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
CachingHttpAsyncClients - Class in org.apache.hc.client5.http.impl.cache
Factory methods for CloseableHttpAsyncClient instances capable of client-side caching.
CachingHttpClientBuilder - Class in org.apache.hc.client5.http.impl.cache
Builder for CloseableHttpClient instances capable of client-side caching.
CachingHttpClientBuilder() - Constructor for class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
CachingHttpClients - Class in org.apache.hc.client5.http.impl.cache
Factory methods for CloseableHttpClient instances capable of client-side caching.
calculateDelay(int) - Method in class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
cleanResources() - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
 
clone() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
 
close() - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
 
ConcurrentCountMap<T> - Class in org.apache.hc.client5.http.schedule
Concurrent map of integer counts.
ConcurrentCountMap() - Constructor for class org.apache.hc.client5.http.schedule.ConcurrentCountMap
 
containsHeader(String) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
CONTENT_RANGE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
copy(String, Resource) - Method in interface org.apache.hc.client5.http.cache.ResourceFactory
Clones an existing Resource.
copy(CacheConfig) - Static method in class org.apache.hc.client5.http.impl.cache.CacheConfig
 
copy(String, Resource) - Method in class org.apache.hc.client5.http.impl.cache.FileResourceFactory
 
copy(String, Resource) - Method in class org.apache.hc.client5.http.impl.cache.HeapResourceFactory
 
countHeaders(String) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
create() - Static method in class org.apache.hc.client5.http.cache.HttpCacheContext
 
create() - Static method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
create() - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
create() - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
createFileBound(File) - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClients
Creates CloseableHttpAsyncClient instance that uses a file system bound response cache.
createFileBound(File) - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpClients
Creates CloseableHttpClient instance that uses a file system bound response cache.
createHttp2FileBound(File) - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClients
Creates HTTP/2 CloseableHttpAsyncClient instance that uses a file system bound response cache.
createHttp2MemoryBound() - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClients
Creates HTTP/2 CloseableHttpAsyncClient instance that uses a memory bound response cache.
createMemoryBound() - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClients
Creates CloseableHttpAsyncClient instance that uses a memory bound response cache.
createMemoryBound() - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpClients
Creates CloseableHttpClient instance that uses a memory bound response cache.
createObjectCache(Cache<String, HttpCacheStorageEntry>, CacheConfig) - Static method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
Creates cache that stores HttpCacheStorageEntrys without direct serialization.
createSerializedCache(Cache<String, byte[]>, CacheConfig) - Static method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
Creates cache that stores serialized HttpCacheStorageEntrys.
custom() - Static method in class org.apache.hc.client5.http.impl.cache.CacheConfig
 
custom() - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClients
Creates builder object for construction of custom CloseableHttpAsyncClient instances.
custom() - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpClients
Creates builder object for construction of custom CloseableHttpClient instances.
customHttp2() - Static method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClients
Creates builder object for construction of custom HTTP/2 CloseableHttpAsyncClient instances.
customizeExecChain(NamedElementChain<AsyncExecChainHandler>) - Method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
customizeExecChain(NamedElementChain<AsyncExecChainHandler>) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
customizeExecChain(NamedElementChain<ExecChainHandler>) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 

D

DateSupport - Class in org.apache.hc.client5.http.impl.cache
HTTP cache date support utilities.
DateSupport() - Constructor for class org.apache.hc.client5.http.impl.cache.DateSupport
 
DEFAULT - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
 
DEFAULT_303_CACHING_ENABLED - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
Default setting for 303 caching
DEFAULT_ASYNCHRONOUS_WORKERS - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
Default number of worker threads to allow for background revalidations resulting from the stale-while-revalidate directive.
DEFAULT_BACK_OFF_RATE - Static variable in class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
DEFAULT_HEURISTIC_CACHING_ENABLED - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
Default setting for heuristic caching
DEFAULT_HEURISTIC_COEFFICIENT - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
Default coefficient used to heuristically determine freshness lifetime from the Last-Modified time of a cache entry.
DEFAULT_HEURISTIC_LIFETIME - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
Default lifetime to be assumed when we cannot calculate freshness heuristically.
DEFAULT_INITIAL_EXPIRY - Static variable in class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
DEFAULT_MAX_CACHE_ENTRIES - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
Default setting for the maximum number of cache entries that will be retained.
DEFAULT_MAX_EXPIRY - Static variable in class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
DEFAULT_MAX_OBJECT_SIZE_BYTES - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
Default setting for the maximum object size that will be cached, in bytes.
DEFAULT_MAX_UPDATE_RETRIES - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
Default setting for the number of retries on a failed cache processChallenge
DEFAULT_WEAK_ETAG_ON_PUTDELETE_ALLOWED - Static variable in class org.apache.hc.client5.http.impl.cache.CacheConfig
Default setting to allow weak tags on PUT/DELETE methods
DefaultAsyncCacheInvalidator - Class in org.apache.hc.client5.http.impl.cache
Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.
DefaultAsyncCacheInvalidator() - Constructor for class org.apache.hc.client5.http.impl.cache.DefaultAsyncCacheInvalidator
 
DefaultCacheInvalidator - Class in org.apache.hc.client5.http.impl.cache
Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.
DefaultCacheInvalidator() - Constructor for class org.apache.hc.client5.http.impl.cache.DefaultCacheInvalidator
 
delete(String, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
delete(String) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
delete(String) - Method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
 
delete(String, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
 
delete(String) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
 
DELETE_METHOD - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
deserialize(T) - Method in interface org.apache.hc.client5.http.cache.HttpCacheEntrySerializer
Deserializes a cache entry from its serialized representation.
deserialize(byte[]) - Method in class org.apache.hc.client5.http.impl.cache.ByteArrayCacheEntrySerializer
 
deserialize(byte[]) - Method in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
 
deserialize(HttpCacheStorageEntry) - Method in class org.apache.hc.client5.http.impl.cache.NoopCacheEntrySerializer
 
digestToStorageKey(String) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
digestToStorageKey(String) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
digestToStorageKey(String) - Method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
 
digestToStorageKey(String) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
 
digestToStorageKey(String) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
 
dispose() - Method in class org.apache.hc.client5.http.cache.Resource
Indicates the system no longer needs to keep this response body and any system resources associated with it may be reclaimed.
dispose() - Method in class org.apache.hc.client5.http.impl.cache.FileResource
 
dispose() - Method in class org.apache.hc.client5.http.impl.cache.HeapResource
 

E

EhcacheHttpCacheStorage<T> - Class in org.apache.hc.client5.http.impl.cache.ehcache
This class is a storage backend for cache entries that uses the popular Ehcache cache implementation.
EhcacheHttpCacheStorage(Cache<String, T>, CacheConfig, HttpCacheEntrySerializer<T>) - Constructor for class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
Constructs a storage backend using the provided Ehcache with the given configuration options, but using an alternative cache entry serialization strategy.
ETAG - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
execute(HttpCacheEntry) - Method in interface org.apache.hc.client5.http.cache.HttpCacheCASOperation
Returns the new cache entry that should replace an existing one.
EXPIRES - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
ExponentialBackOffSchedulingStrategy - Class in org.apache.hc.client5.http.impl.schedule
An implementation that backs off exponentially based on the number of consecutive failed attempts.
ExponentialBackOffSchedulingStrategy(long, TimeValue, TimeValue) - Constructor for class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
ExponentialBackOffSchedulingStrategy(long, TimeValue) - Constructor for class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
ExponentialBackOffSchedulingStrategy(long) - Constructor for class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
ExponentialBackOffSchedulingStrategy() - Constructor for class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 

F

FileResource - Class in org.apache.hc.client5.http.impl.cache
Cache resource backed by a file.
FileResource(File) - Constructor for class org.apache.hc.client5.http.impl.cache.FileResource
 
FileResourceFactory - Class in org.apache.hc.client5.http.impl.cache
Generates Resource instances whose body is stored in a temporary file.
FileResourceFactory(File) - Constructor for class org.apache.hc.client5.http.impl.cache.FileResourceFactory
 
flushCacheEntriesInvalidatedByExchange(HttpHost, HttpRequest, HttpResponse, Resolver<URI, String>, HttpAsyncCacheStorage, FutureCallback<Boolean>) - Method in interface org.apache.hc.client5.http.cache.HttpAsyncCacheInvalidator
Flush HttpCacheEntrys invalidated by the given message exchange.
flushCacheEntriesInvalidatedByExchange(HttpHost, HttpRequest, HttpResponse, Resolver<URI, String>, HttpCacheStorage) - Method in interface org.apache.hc.client5.http.cache.HttpCacheInvalidator
Flush HttpCacheEntrys invalidated by the given message exchange.
flushCacheEntriesInvalidatedByExchange(HttpHost, HttpRequest, HttpResponse, Resolver<URI, String>, HttpAsyncCacheStorage, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.DefaultAsyncCacheInvalidator
 
flushCacheEntriesInvalidatedByExchange(HttpHost, HttpRequest, HttpResponse, Resolver<URI, String>, HttpCacheStorage) - Method in class org.apache.hc.client5.http.impl.cache.DefaultCacheInvalidator
 
flushCacheEntriesInvalidatedByRequest(HttpHost, HttpRequest, Resolver<URI, String>, HttpAsyncCacheStorage, FutureCallback<Boolean>) - Method in interface org.apache.hc.client5.http.cache.HttpAsyncCacheInvalidator
Flush HttpCacheEntrys invalidated by the given request.
flushCacheEntriesInvalidatedByRequest(HttpHost, HttpRequest, Resolver<URI, String>, HttpCacheStorage) - Method in interface org.apache.hc.client5.http.cache.HttpCacheInvalidator
Flush HttpCacheEntrys invalidated by the given request.
flushCacheEntriesInvalidatedByRequest(HttpHost, HttpRequest, Resolver<URI, String>, HttpAsyncCacheStorage, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.DefaultAsyncCacheInvalidator
 
flushCacheEntriesInvalidatedByRequest(HttpHost, HttpRequest, Resolver<URI, String>, HttpCacheStorage) - Method in class org.apache.hc.client5.http.impl.cache.DefaultCacheInvalidator
 

G

generate(String, byte[]) - Method in interface org.apache.hc.client5.http.cache.ResourceFactory
Creates a Resource from a given response body.
generate(String, byte[], int, int) - Method in interface org.apache.hc.client5.http.cache.ResourceFactory
Creates a Resource from a given response body.
generate(String, byte[], int, int) - Method in class org.apache.hc.client5.http.impl.cache.FileResourceFactory
 
generate(String, byte[]) - Method in class org.apache.hc.client5.http.impl.cache.FileResourceFactory
 
generate(String, byte[], int, int) - Method in class org.apache.hc.client5.http.impl.cache.HeapResourceFactory
 
generate(String, byte[]) - Method in class org.apache.hc.client5.http.impl.cache.HeapResourceFactory
 
generateKey(URI) - Method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Computes a key for the given request URI that can be used as a unique identifier for cached resources.
generateKey(HttpHost, HttpRequest) - Method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Computes a key for the given HttpHost and HttpRequest that can be used as a unique identifier for cached resources.
generateKey(HttpHost, HttpRequest, HttpCacheEntry) - Method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Computes a key for the given HttpHost and HttpRequest that can be used as a unique identifier for cached resources.
generateVariantKey(HttpRequest, HttpCacheEntry) - Method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Computes a "variant key" from the headers of a given request that are covered by the Vary header of a given cache entry.
get() - Method in class org.apache.hc.client5.http.cache.Resource
Returns resource content as a byte array.
get() - Method in class org.apache.hc.client5.http.impl.cache.FileResource
 
get() - Method in class org.apache.hc.client5.http.impl.cache.HeapResource
 
GET_METHOD - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
getAsynchronousWorkers() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns the maximum number of threads to allow for background revalidations due to the stale-while-revalidate directive.
getBackOffRate() - Method in class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
getCacheHits() - Method in class org.apache.hc.client5.http.impl.cache.CachingExecBase
Reports the number of times that the cache successfully responded to an HttpRequest without contacting the origin server.
getCacheMisses() - Method in class org.apache.hc.client5.http.impl.cache.CachingExecBase
Reports the number of times that the cache contacted the origin server because it had no appropriate response cached.
getCacheResponseStatus() - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
 
getCacheUpdates() - Method in class org.apache.hc.client5.http.impl.cache.CachingExecBase
Reports the number of times that the cache was able to satisfy a response by revalidating an existing but stale cache entry.
getContent() - Method in class org.apache.hc.client5.http.cache.HttpCacheStorageEntry
 
getCount(T) - Method in class org.apache.hc.client5.http.schedule.ConcurrentCountMap
 
getDate() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Gets the Date value of the "Date" header or null if the header is missing or cannot be parsed.
getEntries(Collection<String>, FutureCallback<Map<String, HttpCacheEntry>>) - Method in interface org.apache.hc.client5.http.cache.HttpAsyncCacheStorage
Retrieves multiple cache entries stored under the given keys.
getEntries(Collection<String>, FutureCallback<Map<String, HttpCacheEntry>>) - Method in class org.apache.hc.client5.http.cache.HttpAsyncCacheStorageAdaptor
 
getEntries(Collection<String>) - Method in interface org.apache.hc.client5.http.cache.HttpCacheStorage
Retrieves multiple cache entries stored under the given keys.
getEntries(Collection<String>, FutureCallback<Map<String, HttpCacheEntry>>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
getEntries(Collection<String>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
getEntries(Collection<String>) - Method in class org.apache.hc.client5.http.impl.cache.BasicHttpCacheStorage
 
getEntries(Collection<String>) - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
 
getEntry(String, FutureCallback<HttpCacheEntry>) - Method in interface org.apache.hc.client5.http.cache.HttpAsyncCacheStorage
Retrieves the cache entry stored under the given key or null if no entry exists under that key.
getEntry(String, FutureCallback<HttpCacheEntry>) - Method in class org.apache.hc.client5.http.cache.HttpAsyncCacheStorageAdaptor
 
getEntry(String) - Method in interface org.apache.hc.client5.http.cache.HttpCacheStorage
Retrieves the cache entry stored under the given key or null if no entry exists under that key.
getEntry(String, FutureCallback<HttpCacheEntry>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
getEntry(String) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
getEntry(String) - Method in class org.apache.hc.client5.http.impl.cache.BasicHttpCacheStorage
Gets an entry from the cache, if it exists
getEntry(String) - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
 
getFirstHeader(String) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Returns the first header from the origin response with the given name.
getForUpdateCAS(String, FutureCallback<CAS>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
getForUpdateCAS(String) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
getForUpdateCAS(String) - Method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
 
getForUpdateCAS(String, FutureCallback<CASValue<Object>>) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
 
getForUpdateCAS(String) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
 
getHeader(String) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
getHeaders() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Returns all the headers that were on the origin response.
getHeaders(String) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Gets all the headers with the given name that were on the origin response.
getHeuristicCoefficient() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns lifetime coefficient used in heuristic freshness caching.
getHeuristicDefaultLifetime() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Get the default lifetime to be used if heuristic freshness calculation is not possible.
getInitialExpiry() - Method in class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
getInputStream() - Method in class org.apache.hc.client5.http.cache.Resource
Returns resource content as a InputStream.
getInputStream() - Method in class org.apache.hc.client5.http.impl.cache.FileResource
 
getInstant() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
getKey() - Method in class org.apache.hc.client5.http.cache.HttpCacheStorageEntry
 
getLastHeader(String) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
getMaxCacheEntries() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns the maximum number of cache entries the cache will retain.
getMaxExpiry() - Method in class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
getMaxObjectSize() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns the current maximum response body size that will be cached.
getMaxUpdateRetries() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns the number of times to retry a cache processChallenge on failure
getRequestDate() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
getRequestInstant() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Returns the time the associated origin request was initiated by the caching module.
getRequestMethod() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Returns the HTTP request method that was used to create the cached response entry.
getRequestUri(HttpRequest, HttpHost) - Static method in class org.apache.hc.client5.http.impl.cache.HttpCacheSupport
Returns text representation of the request URI of the given HttpRequest.
getResource() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Returns the Resource containing the origin response body.
getResponseDate() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
getResponseInstant() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Returns the time the origin response was received by the caching module.
getStatus() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Returns the status from the origin HttpResponse.
getStorageObject(CAS) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
getStorageObject(CAS) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
getStorageObject(T) - Method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
 
getStorageObject(CASValue<Object>) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
 
getStorageObject(CASValue<Object>) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
 
getVariantMap() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Returns an index about where in the cache different variants for a given resource are stored.

H

hash(String) - Method in interface org.apache.hc.client5.http.impl.cache.memcached.KeyHashingScheme
Maps a storage key to a cache key.
hash(String) - Method in class org.apache.hc.client5.http.impl.cache.memcached.PrefixKeyHashingScheme
 
hash(String) - Method in class org.apache.hc.client5.http.impl.cache.memcached.SHA256KeyHashingScheme
 
hasVariants() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Indicates whether the origin response indicated the associated resource had variants (i.e.
HEAD_METHOD - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
HeaderConstants - Class in org.apache.hc.client5.http.cache
Records static constants for various HTTP header names.
HeaderConstants() - Constructor for class org.apache.hc.client5.http.cache.HeaderConstants
 
headerIterator() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
headerIterator(String) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
HeapResource - Class in org.apache.hc.client5.http.impl.cache
Cache resource backed by a byte array on the heap.
HeapResource(byte[]) - Constructor for class org.apache.hc.client5.http.impl.cache.HeapResource
 
HeapResourceFactory - Class in org.apache.hc.client5.http.impl.cache
Generates Resource instances stored entirely in heap.
HeapResourceFactory() - Constructor for class org.apache.hc.client5.http.impl.cache.HeapResourceFactory
 
HttpAsyncCacheInvalidator - Interface in org.apache.hc.client5.http.cache
Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.
HttpAsyncCacheStorage - Interface in org.apache.hc.client5.http.cache
HttpAsyncCacheStorage represents an abstract HTTP cache storage backend that can then be plugged into the asynchronous (non-blocking ) request execution pipeline.
HttpAsyncCacheStorageAdaptor - Class in org.apache.hc.client5.http.cache
HttpAsyncCacheStorage implementation that emulates asynchronous behavior using an instance of classic HttpCacheStorage.
HttpAsyncCacheStorageAdaptor(HttpCacheStorage) - Constructor for class org.apache.hc.client5.http.cache.HttpAsyncCacheStorageAdaptor
 
HttpByteArrayCacheEntrySerializer - Class in org.apache.hc.client5.http.impl.cache
Cache serializer and deserializer that uses an HTTP-like format.
HttpByteArrayCacheEntrySerializer() - Constructor for class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
 
HttpCacheCASOperation - Interface in org.apache.hc.client5.http.cache
Atomic Compare-And-Swap (CAS) cache operation.
HttpCacheContext - Class in org.apache.hc.client5.http.cache
Adaptor class that provides convenience type safe setters and getters for caching HttpContext attributes.
HttpCacheContext(HttpContext) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheContext
 
HttpCacheContext() - Constructor for class org.apache.hc.client5.http.cache.HttpCacheContext
 
HttpCacheEntry - Class in org.apache.hc.client5.http.cache
Structure used to store an HttpResponse in a cache.
HttpCacheEntry(Date, Date, int, Header[], Resource, Map<String, String>) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntry
HttpCacheEntry(Instant, Instant, int, Header[], Resource, Map<String, String>) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntry
Create a new HttpCacheEntry with variants.
HttpCacheEntry(Date, Date, int, Header[], Resource) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntry
HttpCacheEntry(Instant, Instant, int, Header[], Resource) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntry
Create a new HttpCacheEntry.
HttpCacheEntrySerializer<T> - Interface in org.apache.hc.client5.http.cache
Serializer / deserializer for HttpCacheStorageEntry entries.
HttpCacheInvalidator - Interface in org.apache.hc.client5.http.cache
Given a particular HTTP request / response pair, flush any cache entries that this exchange would invalidate.
HttpCacheStorage - Interface in org.apache.hc.client5.http.cache
HttpCacheStorage represents an abstract HTTP cache storage backend that can then be plugged into the classic (blocking) request execution pipeline.
HttpCacheStorageEntry - Class in org.apache.hc.client5.http.cache
This class contains a HttpCacheEntry along with its key.
HttpCacheStorageEntry(String, HttpCacheEntry) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheStorageEntry
 
HttpCacheSupport - Class in org.apache.hc.client5.http.impl.cache
HTTP cache support utilities.
HttpCacheSupport() - Constructor for class org.apache.hc.client5.http.impl.cache.HttpCacheSupport
 
HttpCacheUpdateException - Exception in org.apache.hc.client5.http.cache
Signals that HttpCacheStorage encountered an error performing an update operation.
HttpCacheUpdateException(String) - Constructor for exception org.apache.hc.client5.http.cache.HttpCacheUpdateException
 
HttpCacheUpdateException(String, Throwable) - Constructor for exception org.apache.hc.client5.http.cache.HttpCacheUpdateException
 

I

IF_MATCH - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
IF_MODIFIED_SINCE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
IF_NONE_MATCH - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
IF_RANGE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
IF_UNMODIFIED_SINCE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
ImmediateSchedulingStrategy - Class in org.apache.hc.client5.http.impl.schedule
Immediately schedules any operation.
ImmediateSchedulingStrategy() - Constructor for class org.apache.hc.client5.http.impl.schedule.ImmediateSchedulingStrategy
 
increaseCount(T) - Method in class org.apache.hc.client5.http.schedule.ConcurrentCountMap
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.ByteArrayCacheEntrySerializer
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.DefaultAsyncCacheInvalidator
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.DefaultCacheInvalidator
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.HeapResourceFactory
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.memcached.SHA256KeyHashingScheme
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.NoopCacheEntrySerializer
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.schedule.ImmediateSchedulingStrategy
 
is303CachingEnabled() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns whether 303 caching is enabled.
isActive() - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
Check if the cache is still active and has not shut down.
isAfter(MessageHeaders, MessageHeaders, String) - Static method in class org.apache.hc.client5.http.impl.cache.DateSupport
Tests if the first message is after (newer) than second one using the given message header for comparison.
isBefore(MessageHeaders, MessageHeaders, String) - Static method in class org.apache.hc.client5.http.impl.cache.DateSupport
Tests if the first message is before (older) than the second one using the given message header for comparison.
isFreshnessCheckEnabled() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns whether the cache will perform an extra cache entry freshness check upon cache update in case of a cache miss
isHeuristicCachingEnabled() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns whether heuristic caching is enabled.
isNeverCacheHTTP10ResponsesWithQuery() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns whether the cache will never cache HTTP 1.0 responses with a query string or not.
isSharedCache() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns whether the cache will behave as a shared cache or not.
isWeakETagOnPutDeleteAllowed() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns whether weak etags is allowed with PUT/DELETE methods.

K

KeyHashingScheme - Interface in org.apache.hc.client5.http.impl.cache.memcached
Since the HttpCacheStorage interface expects to use variant-annotated URLs for its storage keys, but Memcached has a maximum key size, we need to support mapping storage keys to cache keys.

L

LAST_MODIFIED - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
length() - Method in class org.apache.hc.client5.http.cache.Resource
Returns the length in bytes of the response body.
length() - Method in class org.apache.hc.client5.http.impl.cache.FileResource
 
length() - Method in class org.apache.hc.client5.http.impl.cache.HeapResource
 

M

makeByteArrayInputStream(byte[]) - Method in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Helper method to make a new ByteArrayInputStream.
makeHttpResponseParser() - Method in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Helper method to make a new HTTP Response parser.
makeHttpResponseWriter(SessionOutputBuffer) - Method in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Helper method to make a new HTTP response writer.
ManagedHttpCacheStorage - Class in org.apache.hc.client5.http.impl.cache
HttpCacheStorage implementation capable of deallocating resources associated with the cache entries.
ManagedHttpCacheStorage(CacheConfig) - Constructor for class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
 
MAX_FORWARDS - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
MemcachedHttpAsyncCacheStorage - Class in org.apache.hc.client5.http.impl.cache.memcached
This class is a storage backend that uses an external memcached for storing cached origin responses.
MemcachedHttpAsyncCacheStorage(InetSocketAddress) - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
Create a storage backend talking to a memcached instance listening on the specified host and port.
MemcachedHttpAsyncCacheStorage(MemcachedClient) - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
Create a storage backend using the pre-configured given memcached client.
MemcachedHttpAsyncCacheStorage(MemcachedClient, CacheConfig, HttpCacheEntrySerializer<byte[]>, KeyHashingScheme) - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
Create a storage backend using the given memcached client and applying the given cache configuration, serialization, and hashing mechanisms.
MemcachedHttpCacheStorage - Class in org.apache.hc.client5.http.impl.cache.memcached
This class is a storage backend that uses an external memcached for storing cached origin responses.
MemcachedHttpCacheStorage(InetSocketAddress) - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
Create a storage backend talking to a memcached instance listening on the specified host and port.
MemcachedHttpCacheStorage(MemcachedClient) - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
Create a storage backend using the pre-configured given memcached client.
MemcachedHttpCacheStorage(MemcachedClientIF) - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
Create a storage backend using the pre-configured given memcached client.
MemcachedHttpCacheStorage(MemcachedClient, CacheConfig, HttpCacheEntrySerializer<byte[]>, KeyHashingScheme) - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
Create a storage backend using the given memcached client and applying the given cache configuration, serialization, and hashing mechanisms.
MemcachedHttpCacheStorage(MemcachedClientIF, CacheConfig, HttpCacheEntrySerializer<byte[]>, KeyHashingScheme) - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
Create a storage backend using the given memcached client and applying the given cache configuration, serialization, and hashing mechanisms.
MemcachedKeyHashingException - Exception in org.apache.hc.client5.http.impl.cache.memcached
Signals a problem encountered when trying to map a logical "storage key" to a "cache key" suitable for use with memcached.
MemcachedKeyHashingException(Throwable) - Constructor for exception org.apache.hc.client5.http.impl.cache.memcached.MemcachedKeyHashingException
 
MemcachedOperationTimeoutException - Exception in org.apache.hc.client5.http.impl.cache.memcached
Signals memcached operation timeout.
MemcachedOperationTimeoutException(Throwable) - Constructor for exception org.apache.hc.client5.http.impl.cache.memcached.MemcachedOperationTimeoutException
 

N

NoopCacheEntrySerializer - Class in org.apache.hc.client5.http.impl.cache
HttpCacheEntrySerializer that uses HttpCacheStorageEntry as its cache content representation.
NoopCacheEntrySerializer() - Constructor for class org.apache.hc.client5.http.impl.cache.NoopCacheEntrySerializer
 
normalize(URI) - Static method in class org.apache.hc.client5.http.impl.cache.HttpCacheSupport
Returns normalized representation of the request URI optimized for use as a cache key.
normalizeQuetly(String) - Static method in class org.apache.hc.client5.http.impl.cache.HttpCacheSupport
normalizeQuietly(String) - Static method in class org.apache.hc.client5.http.impl.cache.HttpCacheSupport
Lenient URI parser that normalizes valid URIs and returns null for malformed URIs.

O

OPTIONS_METHOD - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
org.apache.hc.client5.http.cache - package org.apache.hc.client5.http.cache
Caching APIs for both the classic and the asynchronous HTTP transports.
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.
org.apache.hc.client5.http.impl.cache.ehcache - package org.apache.hc.client5.http.impl.cache.ehcache
Ehcache based caching backend implementation.
org.apache.hc.client5.http.impl.cache.memcached - package org.apache.hc.client5.http.impl.cache.memcached
Memcached based caching backend implementation.
org.apache.hc.client5.http.impl.schedule - package org.apache.hc.client5.http.impl.schedule
Commons scheduling strategy implementations.
org.apache.hc.client5.http.schedule - package org.apache.hc.client5.http.schedule
Scheduling strategies used by HTTP cache implementations.

P

PRAGMA - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
PrefixKeyHashingScheme - Class in org.apache.hc.client5.http.impl.cache.memcached
This is a KeyHashingScheme decorator that simply adds a known prefix to the results of another KeyHashingScheme.
PrefixKeyHashingScheme(String, KeyHashingScheme) - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.PrefixKeyHashingScheme
Creates a new KeyHashingScheme that prepends the given prefix to the results of hashes from the given backing scheme.
PRIVATE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
PROXY_AUTHENTICATE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
PUBLIC - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
PUT_METHOD - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
putEntry(String, HttpCacheEntry, FutureCallback<Boolean>) - Method in interface org.apache.hc.client5.http.cache.HttpAsyncCacheStorage
Store a given cache entry under the given key.
putEntry(String, HttpCacheEntry, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.cache.HttpAsyncCacheStorageAdaptor
 
putEntry(String, HttpCacheEntry) - Method in interface org.apache.hc.client5.http.cache.HttpCacheStorage
Store a given cache entry under the given key.
putEntry(String, HttpCacheEntry, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
putEntry(String, HttpCacheEntry) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
putEntry(String, HttpCacheEntry) - Method in class org.apache.hc.client5.http.impl.cache.BasicHttpCacheStorage
Places a HttpCacheEntry in the cache
putEntry(String, HttpCacheEntry) - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
 

R

RANGE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
removeEntry(String, FutureCallback<Boolean>) - Method in interface org.apache.hc.client5.http.cache.HttpAsyncCacheStorage
Deletes/invalidates/removes any cache entries currently stored under the given key.
removeEntry(String, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.cache.HttpAsyncCacheStorageAdaptor
 
removeEntry(String) - Method in interface org.apache.hc.client5.http.cache.HttpCacheStorage
Deletes/invalidates/removes any cache entries currently stored under the given key.
removeEntry(String, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
removeEntry(String) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
removeEntry(String) - Method in class org.apache.hc.client5.http.impl.cache.BasicHttpCacheStorage
Removes a HttpCacheEntry from the cache
removeEntry(String) - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
 
resetCount(T) - Method in class org.apache.hc.client5.http.schedule.ConcurrentCountMap
 
resolve(URI) - Method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
 
Resource - Class in org.apache.hc.client5.http.cache
Represents a disposable system resource used for handling cached response bodies.
Resource() - Constructor for class org.apache.hc.client5.http.cache.Resource
 
ResourceFactory - Interface in org.apache.hc.client5.http.cache
Generates Resource instances for handling cached HTTP response bodies.
ResourceIOException - Exception in org.apache.hc.client5.http.cache
Signals a generic resource I/O error.
ResourceIOException(String) - Constructor for exception org.apache.hc.client5.http.cache.ResourceIOException
 
ResourceIOException(String, Throwable) - Constructor for exception org.apache.hc.client5.http.cache.ResourceIOException
 
restore(String, FutureCallback<T>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
restore(String) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
restore(String) - Method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
 
restore(String, FutureCallback<byte[]>) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
 
restore(String) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
 

S

schedule(int) - Method in class org.apache.hc.client5.http.impl.schedule.ExponentialBackOffSchedulingStrategy
 
schedule(int) - Method in class org.apache.hc.client5.http.impl.schedule.ImmediateSchedulingStrategy
 
schedule(int) - Method in interface org.apache.hc.client5.http.schedule.SchedulingStrategy
Schedules execution time for an operation.
SchedulingStrategy - Interface in org.apache.hc.client5.http.schedule
Strategy to determine an execution time (schedule) for an operation.
serialize(HttpCacheStorageEntry) - Method in interface org.apache.hc.client5.http.cache.HttpCacheEntrySerializer
Serializes the given entry.
serialize(HttpCacheStorageEntry) - Method in class org.apache.hc.client5.http.impl.cache.ByteArrayCacheEntrySerializer
 
serialize(HttpCacheStorageEntry) - Method in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
 
serialize(HttpCacheStorageEntry) - Method in class org.apache.hc.client5.http.impl.cache.NoopCacheEntrySerializer
 
setAllow303Caching(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Enables or disables 303 caching.
setAsynchronousWorkers(int) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Sets the maximum number of threads to allow for background revalidations due to the stale-while-revalidate directive.
setCacheConfig(CacheConfig) - Method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
setCacheConfig(CacheConfig) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
setCacheConfig(CacheConfig) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
setCacheDir(File) - Method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
setCacheDir(File) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
setCacheDir(File) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
setDeleteCache(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
setDeleteCache(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
setDeleteCache(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
setFreshnessCheckEnabled(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
 
setHeuristicCachingEnabled(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Enables or disables heuristic caching.
setHeuristicCoefficient(float) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Sets coefficient to be used in heuristic freshness caching.
setHeuristicDefaultLifetime(TimeValue) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Sets default lifetime to be used if heuristic freshness calculation is not possible.
setHttpCacheInvalidator(HttpAsyncCacheInvalidator) - Method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
setHttpCacheInvalidator(HttpAsyncCacheInvalidator) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
setHttpCacheInvalidator(HttpCacheInvalidator) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
setHttpCacheStorage(HttpCacheStorage) - Method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
setHttpCacheStorage(HttpAsyncCacheStorage) - Method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
setHttpCacheStorage(HttpCacheStorage) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
setHttpCacheStorage(HttpAsyncCacheStorage) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
setHttpCacheStorage(HttpCacheStorage) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
setMaxCacheEntries(int) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Sets the maximum number of cache entries the cache will retain.
setMaxObjectSize(long) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Specifies the maximum response body size that will be eligible for caching.
setMaxUpdateRetries(int) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Sets the number of times to retry a cache processChallenge on failure
setNeverCacheHTTP10ResponsesWithQueryString(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Sets whether the cache should never cache HTTP 1.0 responses with a query string or not.
setResourceFactory(ResourceFactory) - Method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
setResourceFactory(ResourceFactory) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
setResourceFactory(ResourceFactory) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
setSchedulingStrategy(SchedulingStrategy) - Method in class org.apache.hc.client5.http.impl.cache.CachingH2AsyncClientBuilder
 
setSchedulingStrategy(SchedulingStrategy) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
setSchedulingStrategy(SchedulingStrategy) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
setSharedCache(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Sets whether the cache should behave as a shared cache or not.
setWeakETagOnPutDeleteAllowed(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Allows or disallows weak etags to be used with PUT/DELETE If-Match requests.
SHA256KeyHashingScheme - Class in org.apache.hc.client5.http.impl.cache.memcached
This is a KeyHashingScheme based on the SHA-256 algorithm.
SHA256KeyHashingScheme() - Constructor for class org.apache.hc.client5.http.impl.cache.memcached.SHA256KeyHashingScheme
 
shutdown() - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
 
STALE_IF_ERROR - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
STALE_WHILE_REVALIDATE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
store(String, T, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
store(String, T) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
store(String, T) - Method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
 
store(String, byte[], FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
 
store(String, byte[]) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
 

T

toString() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Provides a string representation of this instance suitable for human consumption.
toString() - Method in class org.apache.hc.client5.http.cache.HttpCacheStorageEntry
 
toString() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
 
TRACE_METHOD - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 

U

updateCAS(String, CAS, T, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
updateCAS(String, CAS, T) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
updateCAS(String, T, T) - Method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
 
updateCAS(String, CASValue<Object>, byte[], FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpAsyncCacheStorage
 
updateCAS(String, CASValue<Object>, byte[]) - Method in class org.apache.hc.client5.http.impl.cache.memcached.MemcachedHttpCacheStorage
 
updateEntry(String, HttpCacheCASOperation, FutureCallback<Boolean>) - Method in interface org.apache.hc.client5.http.cache.HttpAsyncCacheStorage
Atomically applies the given callback to processChallenge an existing cache entry under a given key.
updateEntry(String, HttpCacheCASOperation, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.cache.HttpAsyncCacheStorageAdaptor
 
updateEntry(String, HttpCacheCASOperation) - Method in interface org.apache.hc.client5.http.cache.HttpCacheStorage
Atomically applies the given callback to processChallenge an existing cache entry under a given key.
updateEntry(String, HttpCacheCASOperation, FutureCallback<Boolean>) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingAsyncCacheStorage
 
updateEntry(String, HttpCacheCASOperation) - Method in class org.apache.hc.client5.http.impl.cache.AbstractSerializingCacheStorage
 
updateEntry(String, HttpCacheCASOperation) - Method in class org.apache.hc.client5.http.impl.cache.BasicHttpCacheStorage
 
updateEntry(String, HttpCacheCASOperation) - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
 

V

valueOf(String) - Static method in enum org.apache.hc.client5.http.cache.CacheResponseStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.hc.client5.http.cache.CacheResponseStatus
Returns an array containing the constants of this enum type, in the order they are declared.
VARY - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
VIA - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 

W

WARNING - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
WWW_AUTHENTICATE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.