Home
last modified time | relevance | path

Searched refs:httpResponse (Results 1 – 13 of 13) sorted by relevance

/external/volley/src/main/java/com/android/volley/toolbox/
DBasicAsyncNetwork.java72 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 …]
DAsyncHttpStack.java38 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()
DBasicNetwork.java96 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()
DNetworkUtility.java143 @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/
DHttpMethodResponse.java56 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()
DHttpClient4.java90 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/
DFakeHttpLayer.java46 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()
DFakeHttp.java43 public static void addPendingHttpResponse(HttpResponse httpResponse) { in addPendingHttpResponse() argument
44 getFakeHttpLayer().addPendingHttpResponse(httpResponse); in addPendingHttpResponse()
/external/oauth/core/src/main/java/net/oauth/client/
DOAuthClient.java316 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/
DOkApacheClient.java82 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/
DARDUtilities.m78 NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response;
79 if (httpResponse.statusCode != 200) {
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DFakeHttpTest.java49 public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { in makeRequest()
DShadowDefaultRequestDirectorTest.java56 public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { in setUp_EnsureStaticStateIsReset()