Home
last modified time | relevance | path

Searched refs:okResponse (Results 1 – 8 of 8) sorted by relevance

/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/
DAndroidShimResponseCache.java61 Response okResponse = delegate.internalCache.get(okRequest); in get() local
62 if (okResponse == null) { in get()
65 return JavaApiConverter.createJavaCacheResponse(okResponse); in get()
69 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection); in put() local
70 if (okResponse == null) { in put()
75 delegate.internalCache.put(okResponse); in put()
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/
DAndroidShimResponseCache.java63 Response okResponse = delegate.internalCache.get(okRequest); in get() local
64 if (okResponse == null) { in get()
67 return JavaApiConverter.createJavaCacheResponse(okResponse); in get()
71 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection); in put() local
72 if (okResponse == null) { in put()
77 delegate.internalCache.put(okResponse); in put()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DJavaApiConverterTest.java267 Response okResponse = createArbitraryOkResponse(); in createJavaUrlConnection_requestChangesForbidden() local
269 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_requestChangesForbidden()
300 Response okResponse = createArbitraryOkResponse(); in createJavaUrlConnection_connectionChangesForbidden() local
302 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_connectionChangesForbidden()
316 Response okResponse = createArbitraryOkResponse(); in createJavaUrlConnection_responseChangesForbidden() local
318 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_responseChangesForbidden()
350 Response okResponse = new Response.Builder() in createJavaUrlConnection_responseHeadersOk() local
363 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_responseHeadersOk()
437 Response okResponse = createArbitraryOkResponse(okRequest); in createJavaUrlConnection_accessibleRequestInfo_GET() local
439 JavaApiConverter.createJavaUrlConnectionForCachePut(okResponse); in createJavaUrlConnection_accessibleRequestInfo_GET()
[all …]
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/
DAndroidResponseCacheAdapter.java94 Response okResponse = okHttpCache.internalCache.get(okRequest); in get() local
95 if (okResponse == null) { in get()
98 return JavaApiConverter.createJavaCacheResponse(okResponse); in get()
111 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection); in put() local
112 if (okResponse == null) { in put()
117 okHttpCache.internalCache.put(okResponse); in put()
/external/okhttp/android/src/main/java/com/android/okhttp/internalandroidapi/
DAndroidResponseCacheAdapter.java92 Response okResponse = okHttpCache.internalCache.get(okRequest); in get() local
93 if (okResponse == null) { in get()
96 return JavaApiConverter.createJavaCacheResponse(okResponse); in get()
109 Response okResponse = JavaApiConverter.createOkResponseForCachePut(uri, urlConnection); in put() local
110 if (okResponse == null) { in put()
115 okHttpCache.internalCache.put(okResponse); in put()
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/
DJavaApiConverter.java380 static HttpURLConnection createJavaUrlConnectionForCachePut(Response okResponse) {
381 Request request = okResponse.request();
384 return new CacheHttpsURLConnection(new CacheHttpURLConnection(okResponse));
386 return new CacheHttpURLConnection(okResponse);
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java378 static HttpURLConnection createJavaUrlConnectionForCachePut(Response okResponse) {
379 Request request = okResponse.request();
382 return new CacheHttpsURLConnection(new CacheHttpURLConnection(okResponse));
384 return new CacheHttpURLConnection(okResponse);
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DOkApacheClient.java172 Response okResponse = client.newCall(okRequest).execute(); in execute() local
173 return transformResponse(okResponse); in execute()