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
Deprecated.
Use HttpHeaders
ALLOW - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
AUTHORIZATION - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders

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
Deprecated.
This class is deprecated and will be removed in a future release. Please use HttpByteArrayCacheEntrySerializer for improved performance.
ByteArrayCacheEntrySerializer() - Constructor for class org.apache.hc.client5.http.impl.cache.ByteArrayCacheEntrySerializer
Deprecated.
 

C

CACHE_CONTROL - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_IMMUTABLE - 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_MUST_UNDERSTAND - 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_ONLY_IF_CACHED - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_PRIVATE - 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_CONTROL_PUBLIC - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_S_MAX_AGE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_STALE_IF_ERROR - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
 
CACHE_CONTROL_STALE_WHILE_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
Configuration for HTTP caches
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.
CacheSupport - Class in org.apache.hc.client5.http.impl.cache
HTTP cache support utilities.
CacheSupport() - Constructor for class org.apache.hc.client5.http.impl.cache.CacheSupport
 
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
 
clear() - Method in class org.apache.hc.client5.http.impl.cache.InternalCacheStorage
 
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
Deprecated.
Use HttpHeaders
copy(HttpCacheEntry) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntryFactory
Creates a copy of the given HttpCacheEntry.
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(Instant, Instant, HttpHost, HttpRequest, HttpResponse, Resource) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntryFactory
Create a new HttpCacheEntry with the given Resource.
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.
createRoot(HttpCacheEntry, Collection<String>) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntryFactory
Creates a new root HttpCacheEntry (parent of multiple variants).
createSerializedCache(Cache<String, byte[]>, CacheConfig) - Static method in class org.apache.hc.client5.http.impl.cache.ehcache.EhcacheHttpCacheStorage
Creates cache that stores serialized HttpCacheStorageEntrys.
createUpdated(Instant, Instant, HttpHost, HttpRequest, HttpResponse, HttpCacheEntry) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntryFactory
Creates updated entry with the new information from the response.
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

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
Deprecated.
No longer applicable. Do not use.
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
Deprecated.
No longer applicable. Do not use.
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
Deprecated.
Use Method
deltaSeconds(String) - Static method in class org.apache.hc.client5.http.impl.cache.CacheSupport
 
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
Deprecated.
 
deserialize(byte[]) - Method in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Deserializes a byte array representation of an HTTP cache storage entry into an instance of HttpCacheStorageEntry.
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
Deprecated.
Use HttpHeaders
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
Deprecated.
Use HttpHeaders
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
Deprecated.
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
Deprecated.
Flush HttpCacheEntrys invalidated by the given message exchange.
flushCacheEntriesInvalidatedByRequest(HttpHost, HttpRequest, Resolver<URI, String>, HttpAsyncCacheStorage, FutureCallback<Boolean>) - Method in interface org.apache.hc.client5.http.cache.HttpAsyncCacheInvalidator
Deprecated.
Flush HttpCacheEntrys invalidated by the given request.
flushCacheEntriesInvalidatedByRequest(HttpHost, HttpRequest, Resolver<URI, String>, HttpCacheStorage) - Method in interface org.apache.hc.client5.http.cache.HttpCacheInvalidator
Deprecated.
Flush HttpCacheEntrys invalidated by the given request.

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 root 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
generateVariantKey(HttpRequest, Collection<String>) - Method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Computes a "variant key" for the given request and the given variants.
generateVariantKey(HttpRequest, HttpCacheEntry) - Method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Computes a "variant key" from the headers of the given request if the given cache entry can have variants (Vary header is present).
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(String) - Method in class org.apache.hc.client5.http.impl.cache.InternalCacheStorage
 
GET_METHOD - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use Method
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
 
getExpires() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
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 an 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
 
getLastModified() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
getLocationURI(URI, MessageHeaders, String) - Static method in class org.apache.hc.client5.http.impl.cache.CacheSupport
 
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() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
getRequestUri(HttpHost, HttpRequest) - Static method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Returns text representation of the request URI of the given HttpRequest.
getRequestUri(HttpRequest, HttpHost) - Static method in class org.apache.hc.client5.http.impl.cache.HttpCacheSupport
Deprecated.
 
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
Deprecated.
No longer applicable. Use HttpCacheEntry.getVariants() instead.
getVariants() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Returns all known variants.

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
Deprecated.
Use Method
HeaderConstants - Class in org.apache.hc.client5.http.cache
Records static constants for caching directives.
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
Deprecated.
Do not use.
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
This class implements the HttpCacheEntrySerializer interface, which defines the contract for HTTP cache entry serialization and deserialization.
HttpByteArrayCacheEntrySerializer(int) - Constructor for class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Constructs a HttpByteArrayCacheEntrySerializer with the specified buffer size.
HttpByteArrayCacheEntrySerializer() - Constructor for class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Constructs a new instance of HttpByteArrayCacheEntrySerializer with a default buffer size.
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(Instant, Instant, String, String, HeaderGroup, int, HeaderGroup, Resource, Collection<String>) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntry
Internal constructor that makes no validation of the input parameters and makes no copies of the original client request and the origin response.
HttpCacheEntry(Date, Date, int, Header[], Resource, Map<String, String>) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntry
Deprecated.
HttpCacheEntry(Instant, Instant, int, Header[], Resource, Map<String, String>) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntry
Deprecated.
HttpCacheEntry(Date, Date, int, Header[], Resource) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntry
Deprecated.
HttpCacheEntry(Instant, Instant, int, Header[], Resource) - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntry
Deprecated.
HttpCacheEntryFactory - Class in org.apache.hc.client5.http.cache
HttpCacheEntryFactory() - Constructor for class org.apache.hc.client5.http.cache.HttpCacheEntryFactory
 
HttpCacheEntrySerializer<T> - Interface in org.apache.hc.client5.http.cache
Serializer / deserializer for HttpCacheStorageEntry entries.
HttpCacheInvalidator - Interface in org.apache.hc.client5.http.cache
Deprecated.
Do not use.
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
Deprecated.
Do not use. This functionality is internal.
HttpCacheSupport() - Constructor for class org.apache.hc.client5.http.impl.cache.HttpCacheSupport
Deprecated.
 
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
Deprecated.
Use HttpHeaders
IF_MODIFIED_SINCE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
IF_NONE_MATCH - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
IF_RANGE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
IF_UNMODIFIED_SINCE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
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.cache.HttpCacheEntryFactory
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.ByteArrayCacheEntrySerializer
Deprecated.
 
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.HeapResourceFactory
 
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Singleton instance of this class.
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
 
InternalCacheStorage - Class in org.apache.hc.client5.http.impl.cache
 
InternalCacheStorage(int, Consumer<HttpCacheStorageEntry>) - Constructor for class org.apache.hc.client5.http.impl.cache.InternalCacheStorage
 
InternalCacheStorage(int) - Constructor for class org.apache.hc.client5.http.impl.cache.InternalCacheStorage
 
InternalCacheStorage() - Constructor for class org.apache.hc.client5.http.impl.cache.InternalCacheStorage
 
is303CachingEnabled() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Deprecated.
No longer applicable. Do not use.
isActive() - Method in class org.apache.hc.client5.http.impl.cache.ManagedHttpCacheStorage
Check if the cache is still active and has not shut down.
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.
isNeverCacheHTTP11ResponsesWithQuery() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Determines whether HTTP/1.1 responses with query strings should never be cached by the client.
isNewer(HttpCacheEntry, MessageHeaders) - Static method in class org.apache.hc.client5.http.cache.HttpCacheEntry
Tests if the given HttpCacheEntry is newer than the given MessageHeaders by comparing values of their DATE header.
isSameOrigin(URI, URI) - Static method in class org.apache.hc.client5.http.impl.cache.CacheSupport
 
isSharedCache() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns whether the cache will behave as a shared cache or not.
isStaleIfErrorEnabled() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns a boolean value indicating whether the stale-if-error cache directive is enabled.
isWeakETagOnPutDeleteAllowed() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Deprecated.
Do not use.

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
Deprecated.
Use HttpHeaders
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
Deprecated.
Do not use.
makeHttpResponseParser() - Method in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Deprecated.
Do not use.
makeHttpResponseWriter(SessionOutputBuffer) - Method in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Deprecated.
Do not use.
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_AGE - Static variable in class org.apache.hc.client5.http.impl.cache.CacheSupport
 
MAX_FORWARDS - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
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.CacheKeyGenerator
Returns normalized representation of the request URI optimized for use as a cache key.
normalize(String) - Static method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Lenient URI parser that normalizes valid URIs and returns null for malformed URIs.
normalize(URI) - Static method in class org.apache.hc.client5.http.impl.cache.HttpCacheSupport
Deprecated.
 
normalizeElements(MessageHeaders, String, Consumer<String>) - Static method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
 
normalizeElements(Iterator<Header>, Consumer<String>) - Static method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
 
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
Deprecated.
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
Deprecated.
Use Method
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

POST_METHOD - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use Method
PRAGMA - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
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
Deprecated.
Use HttpHeaders
PUBLIC - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
put(String, HttpCacheEntry) - Method in class org.apache.hc.client5.http.impl.cache.InternalCacheStorage
 
PUT_METHOD - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use Method
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
Deprecated.
Use HttpHeaders
remove(String) - Method in class org.apache.hc.client5.http.impl.cache.InternalCacheStorage
 
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
 
requestHeaderIterator() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
requestHeaderIterator(String) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
requestHeaders() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
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
 
responseHeaders() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
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
Deprecated.
 
serialize(HttpCacheStorageEntry) - Method in class org.apache.hc.client5.http.impl.cache.HttpByteArrayCacheEntrySerializer
Serializes an HttpCacheStorageEntry object into a byte array using an HTTP-like format.
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
Deprecated.
Has no effect. Do not use.
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
Deprecated.
Do not use.
setHttpCacheInvalidator(HttpAsyncCacheInvalidator) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
Deprecated.
Do not use.
setHttpCacheInvalidator(HttpCacheInvalidator) - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
Deprecated.
Do not use.
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.
setNeverCacheHTTP11ResponsesWithQueryString(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Sets the flag indicating whether HTTP/1.1 responses with a query string should never be cached.
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.
setStaleIfErrorEnabled(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Enables or disables the stale-if-error cache directive.
setWeakETagOnPutDeleteAllowed(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Deprecated.
No longer applicable. Do not use.
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
Deprecated.
Use Method

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.
variantNames(MessageHeaders) - Static method in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Returns all variant names contained in VARY headers of the given message.
VARY - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
VIA - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders

W

WARNING - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
WWW_AUTHENTICATE - Static variable in class org.apache.hc.client5.http.cache.HeaderConstants
Deprecated.
Use HttpHeaders
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.