List of usage examples for org.apache.http.impl.client.cache BasicHttpCache BasicHttpCache
public BasicHttpCache()
From source file:org.apache.http.impl.client.cache.CachingExec.java
public CachingExec(final ClientExecChain backend) { this(backend, new BasicHttpCache(), CacheConfig.DEFAULT); }
From source file:org.apache.http.impl.client.cache.CachingHttpAsyncClient.java
public CachingHttpAsyncClient() throws IOReactorException { this(HttpAsyncClients.createDefault(), new BasicHttpCache(), CacheConfig.DEFAULT); }
From source file:org.apache.http.impl.client.cache.CachingHttpAsyncClient.java
public CachingHttpAsyncClient(final HttpAsyncClient client) { this(client, new BasicHttpCache(), CacheConfig.DEFAULT); }
From source file:org.apache.http.impl.client.cache.CachingHttpClient.java
/** * Constructs a {@code CachingHttpClient} with default caching settings that * stores cache entries in memory and uses a vanilla {@link DefaultHttpClient} * for backend requests./*from w ww . j a va 2 s . co m*/ */ public CachingHttpClient() { this(new DefaultHttpClient(), new BasicHttpCache(), new CacheConfig()); }
From source file:org.apache.http.impl.client.cache.CachingHttpClient.java
/** * Constructs a {@code CachingHttpClient} with default caching settings that * stores cache entries in memory and uses the given {@link HttpClient} * for backend requests./*from ww w . ja v a 2 s. co m*/ * @param client used to make origin requests */ public CachingHttpClient(HttpClient client) { this(client, new BasicHttpCache(), new CacheConfig()); }