Uses of Interface
org.apache.http.client.cache.ResourceFactory
-
Packages that use ResourceFactory Package Description org.apache.http.impl.client.cache This package contains a cache module that can be used for HTTP/1.1 client-side caching. -
-
Uses of ResourceFactory in org.apache.http.impl.client.cache
Classes in org.apache.http.impl.client.cache that implement ResourceFactory Modifier and Type Class Description class
FileResourceFactory
GeneratesResource
instances whose body is stored in a temporary file.class
HeapResourceFactory
GeneratesResource
instances stored entirely in heap.Fields in org.apache.http.impl.client.cache declared as ResourceFactory Modifier and Type Field Description private ResourceFactory
BasicHttpCache. resourceFactory
private ResourceFactory
CacheEntryUpdater. resourceFactory
private ResourceFactory
CachingHttpClientBuilder. resourceFactory
private ResourceFactory
SizeLimitedResponseReader. resourceFactory
Methods in org.apache.http.impl.client.cache with parameters of type ResourceFactory Modifier and Type Method Description CachingHttpClientBuilder
CachingHttpClientBuilder. setResourceFactory(ResourceFactory resourceFactory)
Constructors in org.apache.http.impl.client.cache with parameters of type ResourceFactory Constructor Description BasicHttpCache(ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config)
BasicHttpCache(ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config, CacheKeyGenerator uriExtractor)
BasicHttpCache(ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config, CacheKeyGenerator uriExtractor, HttpCacheInvalidator cacheInvalidator)
CacheEntryUpdater(ResourceFactory resourceFactory)
CachingExec(ClientExecChain backend, ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config)
CachingHttpClient(HttpClient client, ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config)
Deprecated.Constructs aCachingHttpClient
with the given caching options that stores cache entries in the provided storage backend and uses the givenHttpClient
for backend requests.SizeLimitedResponseReader(ResourceFactory resourceFactory, long maxResponseSizeBytes, org.apache.http.HttpRequest request, CloseableHttpResponse response)
Create anHttpResponse
that is limited in size, this allows for checking the size of objects that will be stored in the cache.
-