Home
last modified time | relevance | path

Searched refs:internalCache (Results 1 – 7 of 7) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java70 @Override public void setCache(OkHttpClient client, InternalCache internalCache) {
71 client.setInternalCache(internalCache);
74 @Override public InternalCache internalCache(OkHttpClient client) {
75 return client.internalCache();
131 private InternalCache internalCache; field in OkHttpClient
164 this.internalCache = cache != null ? cache.internalCache : okHttpClient.internalCache; in OkHttpClient()
288 void setInternalCache(InternalCache internalCache) { in setInternalCache() argument
289 this.internalCache = internalCache; in setInternalCache()
293 InternalCache internalCache() { in internalCache() method in OkHttpClient
294 return internalCache; in internalCache()
[all …]
DCache.java137 final InternalCache internalCache = new InternalCache() { field in Cache
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DInternal.java52 public abstract void setCache(OkHttpClient client, InternalCache internalCache); in setCache() argument
54 public abstract InternalCache internalCache(OkHttpClient client); in internalCache() method in Internal
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/
DAndroidShimResponseCache.java61 Response okResponse = delegate.internalCache.get(okRequest); in get()
75 delegate.internalCache.put(okResponse); in put()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DOkHttpClientTest.java98 assertNull(client.internalCache()); in copyWithDefaultsWhenDefaultIsAConstant()
153 assertNull(client.internalCache()); in copyWithDefaultsDoesNotHonorGlobalResponseCache()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java205 InternalCache responseCache = Internal.instance.internalCache(client); in sendRequest()
388 InternalCache responseCache = Internal.instance.internalCache(client); in maybeCache()
629 InternalCache responseCache = Internal.instance.internalCache(client); in readResponse()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java381 if (Internal.instance.internalCache(engineClient) != null && !getUseCaches()) { in newHttpEngine()