Searched refs:okResponse (Results 1 – 8 of 8) sorted by relevance
61 Response okResponse = delegate.internalCache.get(okRequest); in get() local62 if (okResponse == null) { in get()65 return JavaApiConverter.createJavaCacheResponse(okResponse); in get()69 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection); in put() local70 if (okResponse == null) { in put()75 delegate.internalCache.put(okResponse); in put()
63 Response okResponse = delegate.internalCache.get(okRequest); in get() local64 if (okResponse == null) { in get()67 return JavaApiConverter.createJavaCacheResponse(okResponse); in get()71 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection); in put() local72 if (okResponse == null) { in put()77 delegate.internalCache.put(okResponse); in put()
267 Response okResponse = createArbitraryOkResponse(); in createJavaUrlConnection_requestChangesForbidden() local269 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_requestChangesForbidden()300 Response okResponse = createArbitraryOkResponse(); in createJavaUrlConnection_connectionChangesForbidden() local302 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_connectionChangesForbidden()316 Response okResponse = createArbitraryOkResponse(); in createJavaUrlConnection_responseChangesForbidden() local318 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_responseChangesForbidden()350 Response okResponse = new Response.Builder() in createJavaUrlConnection_responseHeadersOk() local363 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_responseHeadersOk()437 Response okResponse = createArbitraryOkResponse(okRequest); in createJavaUrlConnection_accessibleRequestInfo_GET() local439 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_accessibleRequestInfo_GET()[all …]
94 Response okResponse = okHttpCache.internalCache.get(okRequest); in get() local95 if (okResponse == null) { in get()98 return JavaApiConverter.createJavaCacheResponse(okResponse); in get()111 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection); in put() local112 if (okResponse == null) { in put()117 okHttpCache.internalCache.put(okResponse); in put()
92 Response okResponse = okHttpCache.internalCache.get(okRequest); in get() local93 if (okResponse == null) { in get()96 return JavaApiConverter.createJavaCacheResponse(okResponse); in get()109 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection); in put() local110 if (okResponse == null) { in put()115 okHttpCache.internalCache.put(okResponse); in put()
380 static HttpURLConnection createJavaUrlConnectionForCachePut(Response okResponse) {381 Request request = okResponse.request();384 return new CacheHttpsURLConnection(new CacheHttpURLConnection(okResponse));386 return new CacheHttpURLConnection(okResponse);
378 static HttpURLConnection createJavaUrlConnectionForCachePut(Response okResponse) {379 Request request = okResponse.request();382 return new CacheHttpsURLConnection(new CacheHttpURLConnection(okResponse));384 return new CacheHttpURLConnection(okResponse);
172 Response okResponse = client.newCall(okRequest).execute(); in execute() local173 return transformResponse(okResponse); in execute()