Searched refs:httpResponse (Results 1 – 10 of 10) sorted by relevance
56 this.httpResponse = response; in HttpMethodResponse()63 private final HttpResponse httpResponse; field in HttpMethodResponse70 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()
90 HttpResponse httpResponse = client.execute(httpRequest); in execute() local91 … return new HttpMethodResponse(httpRequest, httpResponse, excerpt, request.getContentCharset()); in execute()
90 HttpResponse httpResponse = null; in performRequest() local97 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()
41 public void addPendingHttpResponse(final HttpResponse httpResponse) { in addPendingHttpResponse() argument45 return httpResponse; in addPendingHttpResponse()107 HttpResponse httpResponse = findResponse(httpRequest); in emulateRequest() local109 if (httpResponse == null) { in emulateRequest()113 HttpParams params = httpResponse.getParams(); in emulateRequest()124 return httpResponse; in emulateRequest()
316 HttpResponseMessage httpResponse = http.execute(httpRequest); in invoke() local317 httpResponse = HttpMessageDecoder.decode(httpResponse); in invoke()318 OAuthMessage response = new OAuthResponseMessage(httpResponse); in invoke()319 if (httpResponse.getStatusCode() != HttpResponseMessage.STATUS_OK) { in invoke()
82 BasicHttpResponse httpResponse = new BasicHttpResponse(HTTP_1_1, code, message); in transformResponse() local86 httpResponse.setEntity(entity); in transformResponse()92 httpResponse.addHeader(name, value); in transformResponse()100 return httpResponse; in transformResponse()
80 NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response;81 if (httpResponse.statusCode != 200) {
187 public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { in makeRequest()
51 … @Override public long getKeepAliveDuration(HttpResponse httpResponse, HttpContext httpContext) { in setUp_EnsureStaticStateIsReset()
1097 public static void addPendingHttpResponse(HttpResponse httpResponse) { in addPendingHttpResponse() argument1098 getFakeHttpLayer().addPendingHttpResponse(httpResponse); in addPendingHttpResponse()