|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.client.cache.CachingHttpClients
public class CachingHttpClients
Factory methods for CloseableHttpClient instances
capable of client-side caching.
| Method Summary | |
|---|---|
static CloseableHttpClient |
createFileBound(File cacheDir)
Creates CloseableHttpClient instance that uses a file system
bound response cache. |
static CloseableHttpClient |
createMemoryBound()
Creates CloseableHttpClient instance that uses a memory bound
response cache. |
static CachingHttpClientBuilder |
custom()
Creates builder object for construction of custom CloseableHttpClient instances. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CachingHttpClientBuilder custom()
CloseableHttpClient instances.
public static CloseableHttpClient createMemoryBound()
CloseableHttpClient instance that uses a memory bound
response cache.
public static CloseableHttpClient createFileBound(File cacheDir)
CloseableHttpClient instance that uses a file system
bound response cache.
cacheDir - location of response cache.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||