Home
last modified time | relevance | path

Searched refs:setCache (Results 1 – 17 of 17) sorted by relevance

/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DCacheAdapterTest.java93 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()
DResponseCacheTest.java1864 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/
DAndroidInternal.java40 client.setCache(okCacheContainer.getCache()); in setResponseCache()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DRewriteResponseCacheControl.java44 client.setCache(cache); in RewriteResponseCacheControl()
DCacheResponse.java33 client.setCache(cache); in CacheResponse()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DInternal.java52 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/
DHttpOverSpdyTest.java325 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/
DOkHttpClient.java70 @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/
DURLEncodingTest.java132 Internal.instance.setCache(client, new InternalCache() { in backdoorUrlToUri()
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/
DCrawler.java125 client.setCache(cache); in main()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DOkUrlFactoryTest.java42 client.setCache(cache); in setUp()
DUrlConnectionCacheTest.java93 client.client().setCache(cache); in setUp()
1644 client.client().setCache(cache); in testGoldenCacheResponse()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java1120 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()
DCacheTest.java88 client.setCache(cache); in setUp()
1951 client.setCache(cache); in testGoldenCacheResponse()
DURLConnectionTest.java902 client.client().setCache(cache); in initResponseCache()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java382 engineClient = client.clone().setCache(null); in newHttpEngine()
/external/okhttp/
DCHANGELOG.md575 `OkHttpClient.setCache(...)` instead of `OkHttpClient.setResponseCache(...)`.