B C D E G H I M P R S V 

B

build() - Method in class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptorBuilder
Build and return configured CachingHttpRequestInterceptor.
build() - Method in class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptorBuilder.InMemoryCacheBuilder
Build and return configured CachingHttpRequestInterceptor.

C

cacheAndReturnResponse(HttpRequest, ClientHttpResponse, Date, Date) - Method in interface cz.jirutka.spring.http.client.cache.internal.HttpResponseCache
Store ClientHttpResponse, if possible, and return it.
cacheAndReturnResponse(HttpRequest, ClientHttpResponse, Date, Date) - Method in class cz.jirutka.spring.http.client.cache.internal.HttpResponseCacheImpl
 
CacheControl - Class in cz.jirutka.spring.http.client.cache.internal
Represents a HTTP Cache-Control response header and parses it from string.
CacheControl() - Constructor for class cz.jirutka.spring.http.client.cache.internal.CacheControl
 
CachedEntrySuitabilityChecker - Interface in cz.jirutka.spring.http.client.cache
Determines whether a given CacheEntry is suitable to be used as a response for a given HttpRequest.
CacheEntry - Class in cz.jirutka.spring.http.client.cache.internal
 
CacheEntry(InMemoryClientHttpResponse, Date, Date) - Constructor for class cz.jirutka.spring.http.client.cache.internal.CacheEntry
 
CacheKeyGenerator - Interface in cz.jirutka.spring.http.client.cache
 
CachingHttpRequestInterceptor - Class in cz.jirutka.spring.http.client.cache
 
CachingHttpRequestInterceptor(Cache, boolean, int) - Constructor for class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptor
 
CachingHttpRequestInterceptor(HttpResponseCache, CachingPolicy, CachedEntrySuitabilityChecker) - Constructor for class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptor
 
CachingHttpRequestInterceptorBuilder - Class in cz.jirutka.spring.http.client.cache
CachingHttpRequestInterceptorBuilder() - Constructor for class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptorBuilder
 
CachingHttpRequestInterceptorBuilder.InMemoryCacheBuilder - Class in cz.jirutka.spring.http.client.cache
 
CachingHttpRequestInterceptorBuilder.InMemoryCacheBuilder() - Constructor for class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptorBuilder.InMemoryCacheBuilder
 
CachingPolicy - Interface in cz.jirutka.spring.http.client.cache
Policy that determines if a request can be served from cache or a response can be cached.
canCachedEntryBeUsed(HttpRequest, CacheEntry, Date) - Method in interface cz.jirutka.spring.http.client.cache.CachedEntrySuitabilityChecker
 
canCachedEntryBeUsed(HttpRequest, CacheEntry, Date) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachedEntrySuitabilityChecker
 
clear() - Method in interface cz.jirutka.spring.http.client.cache.internal.HttpResponseCache
 
clear() - Method in class cz.jirutka.spring.http.client.cache.internal.HttpResponseCacheImpl
 
clear() - Method in class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 
close() - Method in class cz.jirutka.spring.http.client.cache.internal.InMemoryClientHttpResponse
 
CombinedClientHttpResponse - Class in cz.jirutka.spring.http.client.cache.internal
ClientHttpResponse implementation that combines an existing response with a different body.
CombinedClientHttpResponse(ClientHttpResponse, InputStream) - Constructor for class cz.jirutka.spring.http.client.cache.internal.CombinedClientHttpResponse
 
correctedInitialAge(ClientHttpResponse, Date, Date) - Method in class cz.jirutka.spring.http.client.cache.DefaultResponseExpirationResolver
Calculates a corrected initial age of the request, i.e.
createEntry(Object) - Method in class cz.jirutka.spring.http.client.cache.SoftReferenceSynchronizedLruCache
 
createEntry(Object) - Method in class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 
createKey(HttpRequest) - Method in interface cz.jirutka.spring.http.client.cache.CacheKeyGenerator
 
createKey(HttpRequest) - Method in class cz.jirutka.spring.http.client.cache.SimpleCacheKeyGenerator
 
createResponse(CacheEntry) - Method in class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptor
 
cz.jirutka.spring.http.client.cache - package cz.jirutka.spring.http.client.cache
 
cz.jirutka.spring.http.client.cache.internal - package cz.jirutka.spring.http.client.cache.internal
 

D

deepCopy() - Method in class cz.jirutka.spring.http.client.cache.internal.InMemoryClientHttpResponse
 
DEFAULT_BUFFER_SIZE - Static variable in class cz.jirutka.spring.http.client.cache.internal.SizeLimitedHttpResponseReader
 
DEFAULT_INITIAL_CAPACITY - Static variable in class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 
DEFAULT_LOAD_FACTOR - Static variable in class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 
DefaultCachedEntrySuitabilityChecker - Class in cz.jirutka.spring.http.client.cache
 
DefaultCachedEntrySuitabilityChecker() - Constructor for class cz.jirutka.spring.http.client.cache.DefaultCachedEntrySuitabilityChecker
 
DefaultCachingPolicy - Class in cz.jirutka.spring.http.client.cache
Policy that determines if a request can be served from cache or a response can be cached.
DefaultCachingPolicy(boolean) - Constructor for class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
Creates a new instance of DefaultCachingPolicy without the size limit.
DefaultCachingPolicy(boolean, long) - Constructor for class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
Creates a new instance of DefaultCachingPolicy with defined size limit of responses that should be stored in the cache.
DefaultResponseExpirationResolver - Class in cz.jirutka.spring.http.client.cache
 
DefaultResponseExpirationResolver() - Constructor for class cz.jirutka.spring.http.client.cache.DefaultResponseExpirationResolver
 
DefaultResponseExpirationResolver(boolean) - Constructor for class cz.jirutka.spring.http.client.cache.DefaultResponseExpirationResolver
 

E

enhance(RestTemplate) - Method in class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptorBuilder
Build a configured CachingHttpRequestInterceptor and add it to the given RestTemplate.
enhance(RestTemplate) - Method in class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptorBuilder.InMemoryCacheBuilder
Build a configured CachingHttpRequestInterceptor and add it to the given RestTemplate.
evict(HttpRequest) - Method in interface cz.jirutka.spring.http.client.cache.internal.HttpResponseCache
 
evict(HttpRequest) - Method in class cz.jirutka.spring.http.client.cache.internal.HttpResponseCacheImpl
 
evict(Object) - Method in class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 
execute(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptor
 

G

get(Object) - Method in class cz.jirutka.spring.http.client.cache.SoftReferenceSynchronizedLruCache
 
get(Object) - Method in class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 
getBody() - Method in class cz.jirutka.spring.http.client.cache.internal.CombinedClientHttpResponse
 
getBody() - Method in class cz.jirutka.spring.http.client.cache.internal.InMemoryClientHttpResponse
 
getBodyAsByteArray() - Method in class cz.jirutka.spring.http.client.cache.internal.InMemoryClientHttpResponse
 
getCacheEntry(HttpRequest) - Method in interface cz.jirutka.spring.http.client.cache.internal.HttpResponseCache
Returns a cached response for the given request.
getCacheEntry(HttpRequest) - Method in class cz.jirutka.spring.http.client.cache.internal.HttpResponseCacheImpl
 
getHeaders() - Method in class cz.jirutka.spring.http.client.cache.internal.CombinedClientHttpResponse
 
getMaxAge(boolean) - Method in class cz.jirutka.spring.http.client.cache.internal.CacheControl
Returns max-age, or s-maxage according to whether considering a shared cache, or a private cache.
getName() - Method in class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 
getNativeCache() - Method in class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 
getRawStatusCode() - Method in class cz.jirutka.spring.http.client.cache.internal.InMemoryClientHttpResponse
 
getResponse() - Method in class cz.jirutka.spring.http.client.cache.internal.CacheEntry
 
getResponse() - Method in exception cz.jirutka.spring.http.client.cache.internal.SizeLimitedHttpResponseReader.ResponseSizeLimitExceededException
Returns a reconstructed response that can be read as usual.
getResponseCreated() - Method in class cz.jirutka.spring.http.client.cache.internal.CacheEntry
 
getResponseExpiration() - Method in class cz.jirutka.spring.http.client.cache.internal.CacheEntry
 
getStatusText() - Method in class cz.jirutka.spring.http.client.cache.internal.InMemoryClientHttpResponse
 

H

HttpResponseCache - Interface in cz.jirutka.spring.http.client.cache.internal
 
HttpResponseCacheImpl - Class in cz.jirutka.spring.http.client.cache.internal
 
HttpResponseCacheImpl(Cache, boolean, int) - Constructor for class cz.jirutka.spring.http.client.cache.internal.HttpResponseCacheImpl
 
HttpResponseCacheImpl(Cache, boolean, int, CacheKeyGenerator) - Constructor for class cz.jirutka.spring.http.client.cache.internal.HttpResponseCacheImpl
 
HttpResponseReader - Interface in cz.jirutka.spring.http.client.cache.internal
 

I

inMemoryCache() - Method in class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptorBuilder
Use and configure the default in-memory cache.
InMemoryClientHttpResponse - Class in cz.jirutka.spring.http.client.cache.internal
 
InMemoryClientHttpResponse(byte[], HttpStatus, HttpHeaders) - Constructor for class cz.jirutka.spring.http.client.cache.internal.InMemoryClientHttpResponse
 
intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class cz.jirutka.spring.http.client.cache.CachingHttpRequestInterceptor
 
isCacheableMethod(HttpMethod) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
 
isExplicitlyCacheable(ClientHttpResponse) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
Whether the given response should be cached.
isExplicitlyNonCacheable(ClientHttpResponse) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
Whether the given response must not be cached.
isImplicitlyCacheableStatus(int) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
Whether the given status code can be cached implicitly, i.e.
isResponseCacheable(HttpRequest, ClientHttpResponse) - Method in interface cz.jirutka.spring.http.client.cache.CachingPolicy
Determine if the ClientHttpResponse gotten from the origin is a cacheable response.
isResponseCacheable(HttpRequest, ClientHttpResponse) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
 
isResponseCacheable(ClientHttpResponse) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
 
isServableFromCache(HttpRequest) - Method in interface cz.jirutka.spring.http.client.cache.CachingPolicy
Determines if the given HttpRequest is allowed to be served from cache.
isServableFromCache(HttpRequest) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
 
isUncacheableStatus(int) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
Whether the given status code must not be cached, even when any cache header is specified.
isUnknownStatus(int) - Method in class cz.jirutka.spring.http.client.cache.DefaultCachingPolicy
Whether the given status code is considered to unknown and thus must not be cached.

M

MAX_AGE - Static variable in class cz.jirutka.spring.http.client.cache.DefaultResponseExpirationResolver
 

P

parseCacheControl(HttpHeaders) - Static method in class cz.jirutka.spring.http.client.cache.internal.CacheControl
 
put(Object, Object) - Method in class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 

R

readResponse(ClientHttpResponse) - Method in interface cz.jirutka.spring.http.client.cache.internal.HttpResponseReader
Reads the original ClientHttpResponse to memory, if possible, and returns a serializable copy.
readResponse(ClientHttpResponse) - Method in class cz.jirutka.spring.http.client.cache.internal.SizeLimitedHttpResponseReader
Reads the original ClientHttpResponse to memory, if possible, and returns a serializable copy.
resolveExpirationDate(ClientHttpResponse, Date) - Method in class cz.jirutka.spring.http.client.cache.DefaultResponseExpirationResolver
 
resolveExpirationDate(ClientHttpResponse, Date) - Method in interface cz.jirutka.spring.http.client.cache.ResponseExpirationResolver
 
resolveInitialDate(ClientHttpResponse, Date, Date) - Method in class cz.jirutka.spring.http.client.cache.DefaultResponseExpirationResolver
 
resolveInitialDate(ClientHttpResponse, Date, Date) - Method in interface cz.jirutka.spring.http.client.cache.ResponseExpirationResolver
 
ResponseExpirationResolver - Interface in cz.jirutka.spring.http.client.cache
 

S

SimpleCacheKeyGenerator - Class in cz.jirutka.spring.http.client.cache
 
SimpleCacheKeyGenerator() - Constructor for class cz.jirutka.spring.http.client.cache.SimpleCacheKeyGenerator
 
SizeLimitedHttpResponseReader - Class in cz.jirutka.spring.http.client.cache.internal
HttpResponseReader implementation that reads a response until the specified size limit.
SizeLimitedHttpResponseReader(int) - Constructor for class cz.jirutka.spring.http.client.cache.internal.SizeLimitedHttpResponseReader
Construct with a default buffer size.
SizeLimitedHttpResponseReader(int, int) - Constructor for class cz.jirutka.spring.http.client.cache.internal.SizeLimitedHttpResponseReader
 
SizeLimitedHttpResponseReader.ResponseSizeLimitExceededException - Exception in cz.jirutka.spring.http.client.cache.internal
 
SizeLimitedHttpResponseReader.ResponseSizeLimitExceededException(ClientHttpResponse) - Constructor for exception cz.jirutka.spring.http.client.cache.internal.SizeLimitedHttpResponseReader.ResponseSizeLimitExceededException
 
SoftReferenceSynchronizedLruCache - Class in cz.jirutka.spring.http.client.cache
 
SoftReferenceSynchronizedLruCache(String, int) - Constructor for class cz.jirutka.spring.http.client.cache.SoftReferenceSynchronizedLruCache
Create a new instance with default initial capacity and load factor.
SoftReferenceSynchronizedLruCache(String, int, int, float) - Constructor for class cz.jirutka.spring.http.client.cache.SoftReferenceSynchronizedLruCache
 
SynchronizedLruCache - Class in cz.jirutka.spring.http.client.cache
Simple LRU Cache implementation with adjustable capacity limit based on LinkedHashMap from JDK.
SynchronizedLruCache(String, int) - Constructor for class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
Create a new instance with default initial capacity and load factor.
SynchronizedLruCache(String, int, int, float) - Constructor for class cz.jirutka.spring.http.client.cache.SynchronizedLruCache
 

V

valueOf(String) - Static method in class cz.jirutka.spring.http.client.cache.internal.CacheControl
Creates a new instance of CacheControl by parsing the supplied string.
B C D E G H I M P R S V 

Copyright © 2014. All rights reserved.