Searched refs:setCache (Results 1 – 17 of 17) sorted by relevance
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 93 Internal.instance.setCache(client, new CacheAdapter(responseCache)); in get_httpGet() 116 Internal.instance.setCache(client, new CacheAdapter(responseCache)); in get_httpsGet() 160 Internal.instance.setCache(client, new CacheAdapter(responseCache)); in put_httpGet() 199 Internal.instance.setCache(client, new CacheAdapter(responseCache)); in put_httpPost() 231 Internal.instance.setCache(client, new CacheAdapter(responseCache)); in put_httpsGet()
|
D | ResponseCacheTest.java | 1864 Internal.instance.setCache(client, new CacheAdapter(new AbstractResponseCache() { 1891 Internal.instance.setCache(client, new CacheAdapter(new AbstractResponseCache() { 1921 Internal.instance.setCache(client, new CacheAdapter(new AbstractResponseCache() { 2008 Internal.instance.setCache(client, new CacheAdapter(new AbstractResponseCache() {
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/ |
D | AndroidInternal.java | 40 client.setCache(okCacheContainer.getCache()); in setResponseCache()
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
D | RewriteResponseCacheControl.java | 44 client.setCache(cache); in RewriteResponseCacheControl()
|
D | CacheResponse.java | 33 client.setCache(cache); in CacheResponse()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Internal.java | 52 public abstract void setCache(OkHttpClient client, InternalCache internalCache); in setCache() method in Internal
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 325 client.client().setCache(cache); in responsesAreCached() 341 client.client().setCache(cache); in conditionalCache() 357 client.client().setCache(cache); in responseCachedWithoutConsumingFullBody()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | OkHttpClient.java | 70 @Override public void setCache(OkHttpClient client, InternalCache internalCache) { 297 public OkHttpClient setCache(Cache cache) { in setCache() method in OkHttpClient
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/internal/huc/ |
D | URLEncodingTest.java | 132 Internal.instance.setCache(client, new InternalCache() { in backdoorUrlToUri()
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
D | Crawler.java | 125 client.setCache(cache); in main()
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | OkUrlFactoryTest.java | 42 client.setCache(cache); in setUp()
|
D | UrlConnectionCacheTest.java | 93 client.client().setCache(cache); in setUp() 1644 client.client().setCache(cache); in testGoldenCacheResponse()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CallTest.java | 1120 client.setCache(cache); in cacheHit() 1172 client.setCache(cache); in conditionalCacheHit() 1230 client.setCache(cache); in conditionalCacheHit_Async() 1257 client.setCache(cache); in conditionalCacheMiss() 1302 client.setCache(cache); in conditionalCacheMiss_Async()
|
D | CacheTest.java | 88 client.setCache(cache); in setUp() 1951 client.setCache(cache); in testGoldenCacheResponse()
|
D | URLConnectionTest.java | 902 client.client().setCache(cache); in initResponseCache()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 382 engineClient = client.clone().setCache(null); in newHttpEngine()
|
/external/okhttp/ |
D | CHANGELOG.md | 575 `OkHttpClient.setCache(...)` instead of `OkHttpClient.setResponseCache(...)`.
|