Home
last modified time | relevance | path

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

/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/volley/src/main/java/com/android/volley/toolbox/
DBasicNetwork.java90 HttpResponse httpResponse = null; in performRequest() local
97 httpResponse = mHttpStack.performRequest(request, headers); in performRequest()
98 StatusLine statusLine = httpResponse.getStatusLine(); in performRequest()
101 responseHeaders = convertHeaders(httpResponse.getAllHeaders()); in performRequest()
123 if (httpResponse.getEntity() != null) { in performRequest()
124 responseContents = entityToBytes(httpResponse.getEntity()); in performRequest()
148 if (httpResponse != null) { in performRequest()
149 statusCode = httpResponse.getStatusLine().getStatusCode(); in performRequest()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayer.java41 public void addPendingHttpResponse(final HttpResponse httpResponse) { in addPendingHttpResponse() argument
45 return httpResponse; in addPendingHttpResponse()
107 HttpResponse httpResponse = findResponse(httpRequest); in emulateRequest() local
109 if (httpResponse == null) { in emulateRequest()
113 HttpParams params = httpResponse.getParams(); in emulateRequest()
124 return httpResponse; in emulateRequest()
/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/webrtc/examples/objc/AppRTCDemo/common/
DARDUtilities.m80 NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response;
81 if (httpResponse.statusCode != 200) {
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DRobolectricTest.java187 public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { in makeRequest()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java51 … @Override public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { in setUp_EnsureStaticStateIsReset()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java1097 public static void addPendingHttpResponse(HttpResponse httpResponse) { in addPendingHttpResponse() argument
1098 getFakeHttpLayer().addPendingHttpResponse(httpResponse); in addPendingHttpResponse()