- decorateMainExec(ClientExecChain) - Method in class org.apache.http.impl.client.cache.CachingHttpClientBuilder
-
- DEFAULT - Static variable in class org.apache.http.impl.client.cache.CacheConfig
-
- DEFAULT_303_CACHING_ENABLED - Static variable in class org.apache.http.impl.client.cache.CacheConfig
-
Default setting for 303 caching
- DEFAULT_ASYNCHRONOUS_WORKER_IDLE_LIFETIME_SECS - Static variable in class org.apache.http.impl.client.cache.CacheConfig
-
Default maximum idle lifetime for a background revalidation thread
before it gets reclaimed.
- DEFAULT_ASYNCHRONOUS_WORKERS_CORE - Static variable in class org.apache.http.impl.client.cache.CacheConfig
-
Default minimum number of worker threads to allow for background
revalidations resulting from the stale-while-revalidate directive.
- DEFAULT_ASYNCHRONOUS_WORKERS_MAX - Static variable in class org.apache.http.impl.client.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.http.impl.client.cache.ExponentialBackOffSchedulingStrategy
-
- DEFAULT_HEURISTIC_CACHING_ENABLED - Static variable in class org.apache.http.impl.client.cache.CacheConfig
-
Default setting for heuristic caching
- DEFAULT_HEURISTIC_COEFFICIENT - Static variable in class org.apache.http.impl.client.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.http.impl.client.cache.CacheConfig
-
Default lifetime in seconds to be assumed when we cannot calculate
freshness heuristically.
- DEFAULT_INITIAL_EXPIRY_IN_MILLIS - Static variable in class org.apache.http.impl.client.cache.ExponentialBackOffSchedulingStrategy
-
- DEFAULT_MAX_CACHE_ENTRIES - Static variable in class org.apache.http.impl.client.cache.CacheConfig
-
Default setting for the maximum number of cache entries
that will be retained.
- DEFAULT_MAX_EXPIRY_IN_MILLIS - Static variable in class org.apache.http.impl.client.cache.ExponentialBackOffSchedulingStrategy
-
- DEFAULT_MAX_OBJECT_SIZE_BYTES - Static variable in class org.apache.http.impl.client.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.http.impl.client.cache.CacheConfig
-
Default setting for the number of retries on a failed
cache update
- DEFAULT_REVALIDATION_QUEUE_SIZE - Static variable in class org.apache.http.impl.client.cache.CacheConfig
-
Default maximum queue length for background revalidation requests.
- DEFAULT_WEAK_ETAG_ON_PUTDELETE_ALLOWED - Static variable in class org.apache.http.impl.client.cache.CacheConfig
-
Default setting to allow weak tags on PUT/DELETE methods
- DefaultFailureCache - Class in org.apache.http.impl.client.cache
-
Implements a bounded failure cache.
- DefaultFailureCache() - Constructor for class org.apache.http.impl.client.cache.DefaultFailureCache
-
- DefaultFailureCache(int) - Constructor for class org.apache.http.impl.client.cache.DefaultFailureCache
-
Creates a new failure cache with the specified maximum size.
- DefaultHttpCacheEntrySerializer - Class in org.apache.http.impl.client.cache
-
- DefaultHttpCacheEntrySerializer() - Constructor for class org.apache.http.impl.client.cache.DefaultHttpCacheEntrySerializer
-
- DELETE_METHOD - Static variable in class org.apache.http.client.cache.HeaderConstants
-
- dispose() - Method in interface org.apache.http.client.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.http.impl.client.cache.FileResource
-
- dispose() - Method in class org.apache.http.impl.client.cache.HeapResource
-
- generate(String, InputStream, InputLimit) - Method in interface org.apache.http.client.cache.ResourceFactory
-
Creates a
Resource
from a given response body.
- generate(String, InputStream, InputLimit) - Method in class org.apache.http.impl.client.cache.FileResourceFactory
-
- generate(String, InputStream, InputLimit) - Method in class org.apache.http.impl.client.cache.HeapResourceFactory
-
- GET_METHOD - Static variable in class org.apache.http.client.cache.HeaderConstants
-
- getAllHeaders() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns all the headers that were on the origin response.
- getAsynchronousWorkerIdleLifetimeSecs() - Method in class org.apache.http.impl.client.cache.CacheConfig
-
Returns the current maximum idle lifetime in seconds for a
background revalidation worker thread.
- getAsynchronousWorkersCore() - Method in class org.apache.http.impl.client.cache.CacheConfig
-
Returns the minimum number of threads to keep alive for background
revalidations due to the stale-while-revalidate
directive.
- getAsynchronousWorkersMax() - Method in class org.apache.http.impl.client.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.http.impl.client.cache.ExponentialBackOffSchedulingStrategy
-
- getCacheHits() - Method in class org.apache.http.impl.client.cache.CachingExec
-
Reports the number of times that the cache successfully responded
to an HttpRequest
without contacting the origin server.
- getCacheHits() - Method in class org.apache.http.impl.client.cache.CachingHttpClient
-
Deprecated.
Reports the number of times that the cache successfully responded
to an HttpRequest
without contacting the origin server.
- getCacheMisses() - Method in class org.apache.http.impl.client.cache.CachingExec
-
Reports the number of times that the cache contacted the origin
server because it had no appropriate response cached.
- getCacheMisses() - Method in class org.apache.http.impl.client.cache.CachingHttpClient
-
Deprecated.
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.http.client.cache.HttpCacheContext
-
- getCacheUpdates() - Method in class org.apache.http.impl.client.cache.CachingExec
-
Reports the number of times that the cache was able to satisfy
a response by revalidating an existing but stale cache entry.
- getCacheUpdates() - Method in class org.apache.http.impl.client.cache.CachingHttpClient
-
Deprecated.
Reports the number of times that the cache was able to satisfy
a response by revalidating an existing but stale cache entry.
- getConnectionManager() - Method in class org.apache.http.impl.client.cache.CachingHttpClient
-
Deprecated.
- getConsecutiveFailedAttempts() - Method in class org.apache.http.impl.client.cache.AsynchronousValidationRequest
-
The number of consecutively failed revalidation attempts.
- getCreationTimeInNanos() - Method in class org.apache.http.impl.client.cache.FailureCacheValue
-
- getDate() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Gets the Date value of the "Date" header or null if the header is missing or cannot be
parsed.
- getEntry(String) - Method in interface org.apache.http.client.cache.HttpCacheStorage
-
Retrieves the cache entry stored under the given key
or null if no entry exists under that key.
- getEntry(String) - Method in class org.apache.http.impl.client.cache.BasicHttpCacheStorage
-
Gets an entry from the cache, if it exists
- getEntry(String) - Method in class org.apache.http.impl.client.cache.ehcache.EhcacheHttpCacheStorage
-
- getEntry(String) - Method in class org.apache.http.impl.client.cache.ManagedHttpCacheStorage
-
- getEntry(String) - Method in class org.apache.http.impl.client.cache.memcached.MemcachedHttpCacheStorage
-
- getErrorCount(String) - Method in class org.apache.http.impl.client.cache.DefaultFailureCache
-
- getErrorCount(String) - Method in interface org.apache.http.impl.client.cache.FailureCache
-
Get the current error count.
- getErrorCount() - Method in class org.apache.http.impl.client.cache.FailureCacheValue
-
- getFirstHeader(String) - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns the first header from the origin response with the given
name.
- getHeaders(String) - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Gets all the headers with the given name that were on the origin
response.
- getHeuristicCoefficient() - Method in class org.apache.http.impl.client.cache.CacheConfig
-
Returns lifetime coefficient used in heuristic freshness caching.
- getHeuristicDefaultLifetime() - Method in class org.apache.http.impl.client.cache.CacheConfig
-
Get the default lifetime to be used if heuristic freshness calculation is
not possible.
- getHttpCacheEntry() - Method in interface org.apache.http.impl.client.cache.memcached.MemcachedCacheEntry
-
- getHttpCacheEntry() - Method in class org.apache.http.impl.client.cache.memcached.MemcachedCacheEntryImpl
-
- getIdentifier() - Method in class org.apache.http.impl.client.cache.AsynchronousValidationRequest
-
- getInitialExpiryInMillis() - Method in class org.apache.http.impl.client.cache.ExponentialBackOffSchedulingStrategy
-
- getInputStream() - Method in interface org.apache.http.client.cache.Resource
-
Returns an
InputStream
from which the response
body can be read.
- getInputStream() - Method in class org.apache.http.impl.client.cache.FileResource
-
- getInputStream() - Method in class org.apache.http.impl.client.cache.HeapResource
-
- getKey() - Method in class org.apache.http.impl.client.cache.FailureCacheValue
-
- getMaxCacheEntries() - Method in class org.apache.http.impl.client.cache.CacheConfig
-
Returns the maximum number of cache entries the cache will retain.
- getMaxExpiryInMillis() - Method in class org.apache.http.impl.client.cache.ExponentialBackOffSchedulingStrategy
-
- getMaxObjectSize() - Method in class org.apache.http.impl.client.cache.CacheConfig
-
Returns the current maximum response body size that will be cached.
- getMaxObjectSizeBytes() - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- getMaxUpdateRetries() - Method in class org.apache.http.impl.client.cache.CacheConfig
-
Returns the number of times to retry a cache update on failure
- getMemcachedCacheEntry(String, HttpCacheEntry) - Method in interface org.apache.http.impl.client.cache.memcached.MemcachedCacheEntryFactory
-
- getMemcachedCacheEntry(String, HttpCacheEntry) - Method in class org.apache.http.impl.client.cache.memcached.MemcachedCacheEntryFactoryImpl
-
- getParams() - Method in class org.apache.http.impl.client.cache.CachingHttpClient
-
Deprecated.
- getProtocolVersion() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns the ProtocolVersion
from the origin
HttpResponse
.
- getReasonPhrase() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Gets the reason phrase from the origin
HttpResponse
, for example, "Not Modified".
- getRequestDate() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns the time the associated origin request was initiated by the
caching module.
- getRequestMethod() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns the HTTP request method that was used to create the cached
response entry.
- getResource() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns the
Resource
containing the origin response body.
- getResponseDate() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns the time the origin response was received by the caching module.
- getRevalidationQueueSize() - Method in class org.apache.http.impl.client.cache.CacheConfig
-
Returns the current maximum queue size for background revalidations.
- getStatusCode() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns the HTTP response code from the origin
HttpResponse
.
- getStatusLine() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns the StatusLine
from the origin
HttpResponse
.
- getStorageKey() - Method in interface org.apache.http.impl.client.cache.memcached.MemcachedCacheEntry
-
Returns the storage key associated with this entry.
- getStorageKey() - Method in class org.apache.http.impl.client.cache.memcached.MemcachedCacheEntryImpl
-
- getUnsetCacheEntry() - Method in interface org.apache.http.impl.client.cache.memcached.MemcachedCacheEntryFactory
-
- getUnsetCacheEntry() - Method in class org.apache.http.impl.client.cache.memcached.MemcachedCacheEntryFactoryImpl
-
- getValue() - Method in class org.apache.http.client.cache.InputLimit
-
Returns the current maximum limit that was set on
creation.
- getVariantMap() - Method in class org.apache.http.client.cache.HttpCacheEntry
-
Returns an index about where in the cache different variants for
a given resource are stored.
- schedule(AsynchronousValidationRequest) - Method in class org.apache.http.impl.client.cache.ExponentialBackOffSchedulingStrategy
-
- schedule(AsynchronousValidationRequest) - Method in class org.apache.http.impl.client.cache.ImmediateSchedulingStrategy
-
- schedule(AsynchronousValidationRequest) - Method in interface org.apache.http.impl.client.cache.SchedulingStrategy
-
- SchedulingStrategy - Interface in org.apache.http.impl.client.cache
-
Specifies when revalidation requests are scheduled.
- set(byte[]) - Method in interface org.apache.http.impl.client.cache.memcached.MemcachedCacheEntry
-
- set(byte[]) - Method in class org.apache.http.impl.client.cache.memcached.MemcachedCacheEntryImpl
-
- setAllow303Caching(boolean) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Enables or disables 303 caching.
- setAsynchronousWorkerIdleLifetimeSecs(int) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets the current maximum idle lifetime in seconds for a
background revalidation worker thread.
- setAsynchronousWorkerIdleLifetimeSecs(int) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setAsynchronousWorkersCore(int) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets the minimum number of threads to keep alive for background
revalidations due to the stale-while-revalidate
directive.
- setAsynchronousWorkersCore(int) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setAsynchronousWorkersMax(int) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets the maximum number of threads to allow for background
revalidations due to the stale-while-revalidate
directive.
- setAsynchronousWorkersMax(int) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setCacheConfig(CacheConfig) - Method in class org.apache.http.impl.client.cache.CachingHttpClientBuilder
-
- setCacheDir(File) - Method in class org.apache.http.impl.client.cache.CachingHttpClientBuilder
-
- setDeleteCache(boolean) - Method in class org.apache.http.impl.client.cache.CachingHttpClientBuilder
-
- setHeuristicCachingEnabled(boolean) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Enables or disables heuristic caching.
- setHeuristicCachingEnabled(boolean) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setHeuristicCoefficient(float) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets coefficient to be used in heuristic freshness caching.
- setHeuristicCoefficient(float) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setHeuristicDefaultLifetime(long) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets default lifetime in seconds to be used if heuristic freshness
calculation is not possible.
- setHeuristicDefaultLifetime(long) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setHttpCacheInvalidator(HttpCacheInvalidator) - Method in class org.apache.http.impl.client.cache.CachingHttpClientBuilder
-
- setHttpCacheStorage(HttpCacheStorage) - Method in class org.apache.http.impl.client.cache.CachingHttpClientBuilder
-
- setMaxCacheEntries(int) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets the maximum number of cache entries the cache will retain.
- setMaxCacheEntries(int) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setMaxObjectSize(long) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Specifies the maximum response body size that will be eligible for caching.
- setMaxObjectSize(long) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setMaxObjectSizeBytes(int) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setMaxUpdateRetries(int) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets the number of times to retry a cache update on failure
- setMaxUpdateRetries(int) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setNeverCacheHTTP10ResponsesWithQueryString(boolean) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets whether the cache should never cache HTTP 1.0 responses with a query string or not.
- setResourceFactory(ResourceFactory) - Method in class org.apache.http.impl.client.cache.CachingHttpClientBuilder
-
- setRevalidationQueueSize(int) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets the current maximum queue size for background revalidations.
- setRevalidationQueueSize(int) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setSchedulingStrategy(SchedulingStrategy) - Method in class org.apache.http.impl.client.cache.CachingHttpClientBuilder
-
- setSharedCache(boolean) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Sets whether the cache should behave as a shared cache or not.
- setSharedCache(boolean) - Method in class org.apache.http.impl.client.cache.CacheConfig
-
- setWeakETagOnPutDeleteAllowed(boolean) - Method in class org.apache.http.impl.client.cache.CacheConfig.Builder
-
Allows or disallows weak etags to be used with PUT/DELETE If-Match requests.
- SHA256KeyHashingScheme - Class in org.apache.http.impl.client.cache.memcached
-
- SHA256KeyHashingScheme() - Constructor for class org.apache.http.impl.client.cache.memcached.SHA256KeyHashingScheme
-
- shutdown() - Method in class org.apache.http.impl.client.cache.ManagedHttpCacheStorage
-
- STALE_IF_ERROR - Static variable in class org.apache.http.client.cache.HeaderConstants
-
- STALE_WHILE_REVALIDATE - Static variable in class org.apache.http.client.cache.HeaderConstants
-
- supportsRangeAndContentRangeHeaders() - Method in class org.apache.http.impl.client.cache.CachingExec
-
Reports whether this CachingHttpClient
implementation
supports byte-range requests as specified by the Range
and Content-Range
headers.
- supportsRangeAndContentRangeHeaders() - Method in class org.apache.http.impl.client.cache.CachingHttpClient
-
Deprecated.
Reports whether this CachingHttpClient
implementation
supports byte-range requests as specified by the Range
and Content-Range
headers.