/external/volley/src/main/java/com/android/volley/toolbox/ |
D | BasicAsyncNetwork.java | 72 final HttpResponse httpResponse, in onRequestSucceeded() argument 74 final int statusCode = httpResponse.getStatusCode(); in onRequestSucceeded() 75 final List<Header> responseHeaders = httpResponse.getHeaders(); in onRequestSucceeded() 85 byte[] responseContents = httpResponse.getContentBytes(); in onRequestSucceeded() 86 if (responseContents == null && httpResponse.getContent() == null) { in onRequestSucceeded() 96 httpResponse, in onRequestSucceeded() 107 final InputStream inputStream = httpResponse.getContent(); in onRequestSucceeded() 112 httpResponse, in onRequestSucceeded() 126 @Nullable HttpResponse httpResponse, in onRequestFailed() argument 130 request, exception, requestStartMs, httpResponse, responseContents); in onRequestFailed() [all …]
|
D | AsyncHttpStack.java | 38 void onSuccess(HttpResponse httpResponse); in onSuccess() argument 107 public void onSuccess(HttpResponse httpResponse) { in executeRequest() 110 httpResponse, in executeRequest() 147 if (response.httpResponse != null) { in executeRequest() 148 return response.httpResponse; in executeRequest() 157 HttpResponse httpResponse; field in AsyncHttpStack.Response 162 @Nullable HttpResponse httpResponse, in Response() 165 this.httpResponse = httpResponse; in Response()
|
D | BasicNetwork.java | 96 HttpResponse httpResponse = null; in performRequest() local 103 httpResponse = mBaseHttpStack.executeRequest(request, additionalRequestHeaders); in performRequest() 104 int statusCode = httpResponse.getStatusCode(); in performRequest() 106 responseHeaders = httpResponse.getHeaders(); in performRequest() 115 InputStream inputStream = httpResponse.getContent(); in performRequest() 119 inputStream, httpResponse.getContentLength(), mPool); in performRequest() 144 request, e, requestStart, httpResponse, responseContents); in performRequest()
|
D | NetworkUtility.java | 143 @Nullable HttpResponse httpResponse, in handleException() argument 152 if (httpResponse != null) { in handleException() 153 statusCode = httpResponse.getStatusCode(); in handleException() 166 responseHeaders = httpResponse.getHeaders(); in handleException()
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
D | HttpMethodResponse.java | 56 this.httpResponse = response; in HttpMethodResponse() 63 private final HttpResponse httpResponse; field in HttpMethodResponse 70 return httpResponse.getStatusLine().getStatusCode(); in getStatusCode() 76 return httpResponse.getEntity().getContent(); in openBody() 82 Header[] allHeaders = httpResponse.getAllHeaders(); in getHeaders() 122 String value = httpResponse.getStatusLine().toString(); in dump() 124 for (Header header : httpResponse.getAllHeaders()) { in dump()
|
D | HttpClient4.java | 90 HttpResponse httpResponse = client.execute(httpRequest); in execute() local 91 … return new HttpMethodResponse(httpRequest, httpResponse, excerpt, request.getContentCharset()); in execute()
|
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
D | FakeHttpLayer.java | 46 public void addPendingHttpResponse(final HttpResponse httpResponse) { in addPendingHttpResponse() argument 50 return httpResponse; in addPendingHttpResponse() 117 HttpResponse httpResponse = findResponse(httpRequest); in emulateRequest() local 119 …System.out.println(" --> " + (httpResponse == null ? null : httpResponse.getStatusLine().getStatu… in emulateRequest() 122 if (httpResponse == null) { in emulateRequest() 126 HttpParams params = httpResponse.getParams(); in emulateRequest() 136 addHttpResponse(httpResponse); in emulateRequest() 137 return httpResponse; in emulateRequest()
|
D | FakeHttp.java | 43 public static void addPendingHttpResponse(HttpResponse httpResponse) { in addPendingHttpResponse() argument 44 getFakeHttpLayer().addPendingHttpResponse(httpResponse); in addPendingHttpResponse()
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | OAuthClient.java | 316 HttpResponseMessage httpResponse = http.execute(httpRequest); in invoke() local 317 httpResponse = HttpMessageDecoder.decode(httpResponse); in invoke() 318 OAuthMessage response = new OAuthResponseMessage(httpResponse); in invoke() 319 if (httpResponse.getStatusCode() != HttpResponseMessage.STATUS_OK) { in invoke()
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
D | OkApacheClient.java | 82 BasicHttpResponse httpResponse = new BasicHttpResponse(HTTP_1_1, code, message); in transformResponse() local 86 httpResponse.setEntity(entity); in transformResponse() 92 httpResponse.addHeader(name, value); in transformResponse() 100 return httpResponse; in transformResponse()
|
/external/webrtc/examples/objc/AppRTCMobile/common/ |
D | ARDUtilities.m | 78 NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; 79 if (httpResponse.statusCode != 200) {
|
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/ |
D | FakeHttpTest.java | 49 public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { in makeRequest()
|
D | ShadowDefaultRequestDirectorTest.java | 56 public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { in setUp_EnsureStaticStateIsReset()
|