Searched refs:internalCache (Results 1 – 7 of 7) sorted by relevance
70 @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 OkHttpClient164 this.internalCache = cache != null ? cache.internalCache : okHttpClient.internalCache; in OkHttpClient()288 void setInternalCache(InternalCache internalCache) { in setInternalCache() argument289 this.internalCache = internalCache; in setInternalCache()293 InternalCache internalCache() { in internalCache() method in OkHttpClient294 return internalCache; in internalCache()[all …]
137 final InternalCache internalCache = new InternalCache() { field in Cache
52 public abstract void setCache(OkHttpClient client, InternalCache internalCache); in setCache() argument54 public abstract InternalCache internalCache(OkHttpClient client); in internalCache() method in Internal
61 Response okResponse = delegate.internalCache.get(okRequest); in get()75 delegate.internalCache.put(okResponse); in put()
98 assertNull(client.internalCache()); in copyWithDefaultsWhenDefaultIsAConstant()153 assertNull(client.internalCache()); in copyWithDefaultsDoesNotHonorGlobalResponseCache()
205 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()
381 if (Internal.instance.internalCache(engineClient) != null && !getUseCaches()) { in newHttpEngine()