/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Response.java | 44 private Response networkResponse; field in Response 58 this.networkResponse = builder.networkResponse; in Response() 157 public Response networkResponse() { in networkResponse() method in Response 158 return networkResponse; in networkResponse() 229 private Response networkResponse; field in Response.Builder 245 this.networkResponse = response.networkResponse; in Builder() 309 public Builder networkResponse(Response networkResponse) { in networkResponse() method in Response.Builder 310 if (networkResponse != null) checkSupportResponse("networkResponse", networkResponse); in networkResponse() 311 this.networkResponse = networkResponse; in networkResponse() 324 } else if (response.networkResponse != null) { in checkSupportResponse()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | Response.java | 51 private Response networkResponse; field in Response 65 this.networkResponse = builder.networkResponse; in Response() 164 public Response networkResponse() { in networkResponse() method in Response 165 return networkResponse; in networkResponse() 239 private Response networkResponse; field in Response.Builder 255 this.networkResponse = response.networkResponse; in Builder() 319 public Builder networkResponse(Response networkResponse) { in networkResponse() argument 320 if (networkResponse != null) checkSupportResponse("networkResponse", networkResponse); in networkResponse() 321 this.networkResponse = networkResponse; in networkResponse() 334 } else if (response.networkResponse != null) { in checkSupportResponse()
|
/external/volley/src/main/java/com/android/volley/ |
D | VolleyError.java | 22 public final NetworkResponse networkResponse; field in VolleyError 26 networkResponse = null; in VolleyError() 30 networkResponse = response; in VolleyError() 35 networkResponse = null; in VolleyError() 40 networkResponse = null; in VolleyError() 45 networkResponse = null; in VolleyError()
|
D | ServerError.java | 22 public ServerError(NetworkResponse networkResponse) { in ServerError() argument 23 super(networkResponse); in ServerError()
|
D | ClientError.java | 27 public ClientError(NetworkResponse networkResponse) { in ClientError() argument 28 super(networkResponse); in ClientError()
|
D | AsyncRequestQueue.java | 345 public void onSuccess(final NetworkResponse networkResponse) { in run() 350 if (networkResponse.notModified && mRequest.hasHadResponseDelivered()) { in run() 358 new NetworkParseTask<>(mRequest, networkResponse)); in run() 373 NetworkResponse networkResponse; field in AsyncRequestQueue.NetworkParseTask 375 NetworkParseTask(Request<T> request, NetworkResponse networkResponse) { in NetworkParseTask() argument 377 this.networkResponse = networkResponse; in NetworkParseTask() 382 final Response<?> response = mRequest.parseNetworkResponse(networkResponse); in run()
|
D | NetworkError.java | 30 public NetworkError(NetworkResponse networkResponse) { in NetworkError() argument 31 super(networkResponse); in NetworkError()
|
D | ParseError.java | 24 public ParseError(NetworkResponse networkResponse) { in ParseError() argument 25 super(networkResponse); in ParseError()
|
D | AsyncNetwork.java | 36 void onSuccess(NetworkResponse networkResponse); in onSuccess() argument 66 public void onSuccess(NetworkResponse networkResponse) { in performRequest() 67 response.set(networkResponse); in performRequest()
|
D | NetworkDispatcher.java | 132 NetworkResponse networkResponse = mNetwork.performRequest(request); in processRequest() local 137 if (networkResponse.notModified && request.hasHadResponseDelivered()) { in processRequest() 144 Response<?> response = request.parseNetworkResponse(networkResponse); in processRequest()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | RecordedResponse.java | 113 public RecordedResponse networkResponse() { in networkResponse() method in RecordedResponse 114 Response networkResponse = response.networkResponse(); in networkResponse() local 115 assertNotNull(networkResponse); in networkResponse() 116 assertNull(networkResponse.body()); in networkResponse() 117 return new RecordedResponse(networkResponse.request(), networkResponse, null, null, null); in networkResponse() 122 assertNull(response.networkResponse()); in assertNoNetworkResponse()
|
D | InterceptorTest.java | 192 Response networkResponse = chain.proceed(networkRequest); in networkInterceptorsObserveNetworkHeaders() 193 assertEquals("gzip", networkResponse.header("Content-Encoding")); in networkInterceptorsObserveNetworkHeaders() 194 return networkResponse; in networkInterceptorsObserveNetworkHeaders() 522 assertEquals("intercepted request", response.networkResponse().request().header("User-Agent")); in networkInterceptorModifiedRequestIsReturned()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | NetworkUtility.java | 163 NetworkResponse networkResponse; in handleException() local 167 networkResponse = in handleException() 176 attemptRetryOnException("auth", request, new AuthFailureError(networkResponse)); in handleException() 179 throw new ClientError(networkResponse); in handleException() 183 "server", request, new ServerError(networkResponse)); in handleException() 185 throw new ServerError(networkResponse); in handleException() 189 throw new ServerError(networkResponse); in handleException()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | HttpEngine.java | 582 Response networkResponse; in readResponse() local 586 networkResponse = readNetworkResponse(); in readResponse() 589 networkResponse = new NetworkInterceptorChain(0, networkRequest).proceed(networkRequest); in readResponse() 622 networkResponse = readNetworkResponse(); in readResponse() 625 receiveHeaders(networkResponse.headers()); in readResponse() 629 if (validate(cacheResponse, networkResponse)) { in readResponse() 633 .headers(combine(cacheResponse.headers(), networkResponse.headers())) in readResponse() 635 .networkResponse(stripBody(networkResponse)) in readResponse() 637 networkResponse.body().close(); in readResponse() 652 userResponse = networkResponse.newBuilder() in readResponse() [all …]
|
D | OkHeaders.java | 197 Headers requestHeaders = response.networkResponse().request().headers(); in varyHeaders()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpEngine.java | 569 Response networkResponse; in readResponse() local 573 networkResponse = readNetworkResponse(); in readResponse() 576 networkResponse = new NetworkInterceptorChain(0, networkRequest).proceed(networkRequest); in readResponse() 609 networkResponse = readNetworkResponse(); in readResponse() 612 receiveHeaders(networkResponse.headers()); in readResponse() 616 if (validate(cacheResponse, networkResponse)) { in readResponse() 620 .headers(combine(cacheResponse.headers(), networkResponse.headers())) in readResponse() 622 .networkResponse(stripBody(networkResponse)) in readResponse() 624 networkResponse.body().close(); in readResponse() 639 userResponse = networkResponse.newBuilder() in readResponse() [all …]
|
D | OkHeaders.java | 195 Headers requestHeaders = response.networkResponse().request().headers(); in varyHeaders()
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
D | CacheResponse.java | 47 System.out.println("Response 1 network response: " + response1.networkResponse()); in run() 55 System.out.println("Response 2 network response: " + response2.networkResponse()); in run()
|
D | RewriteResponseCacheControl.java | 69 System.out.println(" Network: " + (response.networkResponse() != null)); in run()
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
D | Crawler.java | 93 String responseSource = response.networkResponse() != null in fetch() 94 ? ("(network: " + response.networkResponse().code() + " over " + response.protocol() + ")") in fetch()
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | ImageRequestTest.java | 127 NetworkResponse networkResponse, in verifyResize() argument 135 Response<Bitmap> response = request.parseNetworkResponse(networkResponse); in verifyResize()
|
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
D | JavaApiConverter.java | 105 Response networkResponse = okResponseBuilder.build(); in createOkResponseForCachePut() local 106 okResponseBuilder.networkResponse(networkResponse); in createOkResponseForCachePut()
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverter.java | 103 Response networkResponse = okResponseBuilder.build(); in createOkResponseForCachePut() local 104 okResponseBuilder.networkResponse(networkResponse); in createOkResponseForCachePut()
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 178 if (response.networkResponse() == null) { in responseSourceHeader() 187 return "CONDITIONAL_CACHE " + response.networkResponse().code(); in responseSourceHeader()
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 174 if (response.networkResponse() == null) { in responseSourceHeader() 183 return "CONDITIONAL_CACHE " + response.networkResponse().code(); in responseSourceHeader()
|