Example usage for Java org.apache.http.impl.client.cache CachingHttpClient fields, constructors, methods, implement or subclass
The text is from its open source code.
String | CACHE_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. |
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. |
HttpResponse | execute(HttpHost target, HttpRequest request) |
HttpResponse | execute(HttpUriRequest request, HttpContext context) |
T | execute(HttpUriRequest request, ResponseHandler extends T> responseHandler) |