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.cache.CacheContextBuilder
 
build() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
build() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
build() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
 
builder() - Static method in class org.apache.hc.client5.http.cache.RequestCacheControl
 
builder() - Static method in class org.apache.hc.client5.http.cache.ResponseCacheControl
 
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
Deprecated.
Use getter methods
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
 
CacheContextBuilder - Class in org.apache.hc.client5.http.cache
 
CacheContextBuilder(SchemePortResolver) - Constructor for class org.apache.hc.client5.http.cache.CacheContextBuilder
 
CacheControl - Interface in org.apache.hc.client5.http.cache
Represents the values of the Cache-Control header in an HTTP message, which indicate whether and for how long the response can be cached by the client and intermediary proxies.
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 an HTTP cache.
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
 
cast(HttpContext) - Static method in class org.apache.hc.client5.http.cache.HttpCacheContext
Casts the given generic HttpContext as HttpCacheContext or throws an IllegalStateException if the given context is not suitable.
castOrCreate(HttpContext) - Static method in class org.apache.hc.client5.http.cache.HttpCacheContext
Casts the given generic HttpContext as HttpCacheContext or creates new HttpCacheContext if the given context is null..
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
contextAdaptor() - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpAsyncClientBuilder
 
contextAdaptor() - Method in class org.apache.hc.client5.http.impl.cache.CachingHttpClientBuilder
 
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
Deprecated.
Do not use.
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
Deprecated.
Do not use.
copy(String, Resource) - Method in class org.apache.hc.client5.http.impl.cache.HeapResourceFactory
Deprecated.
Do not use.
countHeaders(String) - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
create(SchemePortResolver) - Static method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
create() - Static method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
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
 
createContext() - Method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
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.cache.RequestCacheControl
 
DEFAULT - Static variable in class org.apache.hc.client5.http.cache.ResponseCacheControl
 
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, String, byte[], int, int) - Method in interface org.apache.hc.client5.http.cache.ResourceFactory
Creates a Resource from a given response body.
generate(String, String, byte[], int, int) - 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.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
 
getCacheEntry() - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
Represents the cache entry the resource of which has been used to generate the response.
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
Represents an outcome of the cache operation and the way the response has been generated.
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
 
getETag() - Method in class org.apache.hc.client5.http.cache.HttpCacheEntry
 
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
 
getMaxAge() - Method in interface org.apache.hc.client5.http.cache.CacheControl
Returns the max-age value from the Cache-Control header.
getMaxAge() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
getMaxAge() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl
Returns the max-age value from the Cache-Control header.
getMaxAge() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
getMaxAge() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the max-age value from the Cache-Control header.
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.
getMaxStale() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
getMaxStale() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl
Returns the max-stale value from the Cache-Control header.
getMaxUpdateRetries() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
Returns the number of times to retry a cache processChallenge on failure
getMinFresh() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
getMinFresh() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl
Returns the min-fresh value from the Cache-Control header.
getNoCacheFields() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
getNoCacheFields() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns an unmodifiable set of field names specified in the "no-cache" directive of the Cache-Control header.
getRequestCacheControl() - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
Represents cache control requested by the client.
getRequestCacheControlOrDefault() - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
Returns cache control requested by the client or RequestCacheControl.DEFAULT if not explicitly set in the context.
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.
getResponseCacheControl() - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
Represents cache control enforced by the server.
getResponseCacheControlOrDefault() - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
Represents cache control enforced by the server or ResponseCacheControl.DEFAULT if not explicitly set in the context.
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.
getSharedMaxAge() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
getSharedMaxAge() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the shared-max-age value from the Cache-Control header.
getStaleIfError() - Method in interface org.apache.hc.client5.http.cache.CacheControl
Returns the stale-if-error value from the Cache-Control header.
getStaleIfError() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
getStaleIfError() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl
Returns the stale-if-error value from the Cache-Control header.
getStaleIfError() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
getStaleIfError() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the stale-if-error value from the Cache-Control header.
getStaleWhileRevalidate() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
getStaleWhileRevalidate() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the stale-while-revalidate value from the Cache-Control header.
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
Cache execution HttpContext.
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
Default instance of HttpCacheEntryFactory.
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.ByteArrayCacheEntrySerializer
Deprecated.
Default instance of ByteArrayCacheEntrySerializer.
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.CacheKeyGenerator
Default instance of CacheKeyGenerator.
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.HeapResourceFactory
Default instance of 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
Default instance of SHA256KeyHashingScheme.
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.cache.NoopCacheEntrySerializer
Default instance of NoopCacheEntrySerializer.
INSTANCE - Static variable in class org.apache.hc.client5.http.impl.schedule.ImmediateSchedulingStrategy
Default instance of 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.
isCachePrivate() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
isCachePrivate() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the private flag from the Cache-Control header.
isCachePublic() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
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.
isImmutable() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
isImmutable() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the 'immutable' Cache-Control directive status.
isMustRevalidate() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
isMustRevalidate() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns whether the must-revalidate directive is present in the Cache-Control header.
isMustUnderstand() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
isMustUnderstand() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the must-understand directive from the Cache-Control header.
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.
isNoCache() - Method in interface org.apache.hc.client5.http.cache.CacheControl
Returns the no-cache flag from the Cache-Control header.
isNoCache() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
isNoCache() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl
Returns the no-cache flag from the Cache-Control header.
isNoCache() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
isNoCache() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the no-cache flag from the Cache-Control header.
isNoStore() - Method in interface org.apache.hc.client5.http.cache.CacheControl
Returns the no-store flag from the Cache-Control header.
isNoStore() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
isNoStore() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl
Returns the no-store flag from the Cache-Control header.
isNoStore() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
isNoStore() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the no-store flag from the Cache-Control header.
isOnlyIfCached() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
isOnlyIfCached() - Method in class org.apache.hc.client5.http.cache.RequestCacheControl
Returns the only-if-cached flag from the Cache-Control header.
isProxyRevalidate() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
isProxyRevalidate() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns whether the proxy-revalidate value is set in the Cache-Control header.
isPublic() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns whether the public value is set in the Cache-Control 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.
isUndefined() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
Returns the 'immutable' Cache-Control directive status.
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
 
MemcachedOperationCancellationException - Exception in org.apache.hc.client5.http.impl.cache.memcached
Signals memcached operation cancellation.
MemcachedOperationCancellationException(Throwable) - Constructor for exception org.apache.hc.client5.http.impl.cache.memcached.MemcachedOperationCancellationException
 
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
preemptiveAuth(HttpHost, AuthScheme) - Method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
preemptiveBasicAuth(HttpHost, UsernamePasswordCredentials) - Method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
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
 
RequestCacheControl - Class in org.apache.hc.client5.http.cache
Represents the value of the Cache-Control header in an HTTP request containing cache control directives.
RequestCacheControl.Builder - Class in org.apache.hc.client5.http.cache
 
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
 
ResponseCacheControl - Class in org.apache.hc.client5.http.cache
Represents the value of the Cache-Control header in an HTTP response, which indicate whether and for how long the response can be cached by the client and intermediary proxies.
ResponseCacheControl.Builder - Class in org.apache.hc.client5.http.cache
 
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
 
setCacheControl(RequestCacheControl) - Method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
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
 
setCacheEntry(HttpCacheEntry) - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
 
setCachePrivate(boolean) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setCachePublic(boolean) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setCacheResponseStatus(CacheResponseStatus) - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
 
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
 
setImmutable(boolean) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setMaxAge(long) - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
setMaxAge(long) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
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.
setMaxStale(long) - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
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
setMinFresh(long) - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
setMustRevalidate(boolean) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setMustUnderstand(boolean) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
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.
setNoCache(boolean) - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
setNoCache(boolean) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setNoCacheFields(Set<String>) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setNoCacheFields(String...) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setNoStore(boolean) - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
setNoStore(boolean) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setOnlyIfCached(boolean) - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
setProxyRevalidate(boolean) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setRequestCacheControl(RequestCacheControl) - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
 
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
 
setResponseCacheControl(ResponseCacheControl) - Method in class org.apache.hc.client5.http.cache.HttpCacheContext
 
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.
setSharedMaxAge(long) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setStaleIfError(long) - Method in class org.apache.hc.client5.http.cache.RequestCacheControl.Builder
 
setStaleIfError(long) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
setStaleIfErrorEnabled(boolean) - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig.Builder
Enables or disables the stale-if-error cache directive.
setStaleWhileRevalidate(long) - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl.Builder
 
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.cache.RequestCacheControl
 
toString() - Method in class org.apache.hc.client5.http.cache.ResponseCacheControl
 
toString() - Method in class org.apache.hc.client5.http.impl.cache.CacheConfig
 
toString() - Method in class org.apache.hc.client5.http.impl.cache.FileResource
 
toString() - Method in class org.apache.hc.client5.http.impl.cache.HeapResource
 
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
 
useAuthCache(AuthCache) - Method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
useAuthSchemeRegistry(Lookup<AuthSchemeFactory>) - Method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
useCookieSpecRegistry(Lookup<CookieSpecFactory>) - Method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
useCookieStore(CookieStore) - Method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 
useCredentialsProvider(CredentialsProvider) - Method in class org.apache.hc.client5.http.cache.CacheContextBuilder
 

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.