Java org.apache.http.impl.client.cache CachingHttpClient fields, constructors, methods, implement or subclass

Example usage for Java org.apache.http.impl.client.cache CachingHttpClient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.http.impl.client.cache CachingHttpClient.

The text is from its open source code.

Field

StringCACHE_RESPONSE_STATUS
This is the name under which the org.apache.http.client.cache.CacheResponseStatus of a request (for example, whether it resulted in a cache hit) will be recorded if an HttpContext is provided during execution.

Constructor

CachingHttpClient(HttpClient client, HttpCache cache, CacheConfig config)
CachingHttpClient(HttpClient client, HttpCacheStorage storage, CacheConfig config)
Constructs a CachingHttpClient with the given caching options that stores cache entries in the provided storage backend and uses the given HttpClient for backend requests.
CachingHttpClient(HttpClient client, ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config)
Constructs a CachingHttpClient with the given caching options that stores cache entries in the provided storage backend and uses the given HttpClient for backend requests.
CachingHttpClient(HttpClient client, CacheConfig config)
Constructs a CachingHttpClient with the given caching options that stores cache entries in memory and uses the given HttpClient for backend requests.

Method