/external/volley/src/test/java/com/android/volley/toolbox/ |
D | HttpClientStackTest.java | 45 HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null); in createDeprecatedGetRequest() local 46 assertTrue(httpRequest instanceof HttpGet); in createDeprecatedGetRequest() 53 HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null); in createDeprecatedPostRequest() local 54 assertTrue(httpRequest instanceof HttpPost); in createDeprecatedPostRequest() 61 HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null); in createGetRequest() local 62 assertTrue(httpRequest instanceof HttpGet); in createGetRequest() 69 HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null); in createPostRequest() local 70 assertTrue(httpRequest instanceof HttpPost); in createPostRequest() 77 HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null); in createPostRequestWithBody() local 78 assertTrue(httpRequest instanceof HttpPost); in createPostRequestWithBody() [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | HttpRequestInfo.java | 9 HttpRequest httpRequest; field in HttpRequestInfo 14 …public HttpRequestInfo(HttpRequest httpRequest, HttpHost httpHost, HttpContext httpContext, Reques… in HttpRequestInfo() argument 15 this.httpRequest = httpRequest; in HttpRequestInfo() 22 return httpRequest; in getHttpRequest()
|
D | FakeHttpLayer.java | 92 private HttpResponse findResponse(HttpRequest httpRequest) throws HttpException, IOException { in findResponse() argument 94 return pendingHttpResponses.remove(0).getResponse(httpRequest); in findResponse() 98 if (httpResponseRule.matches(httpRequest)) { in findResponse() 106 …public HttpResponse emulateRequest(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpCon… in emulateRequest() argument 107 HttpResponse httpResponse = findResponse(httpRequest); in emulateRequest() 111 … httpRequest.getRequestLine().getMethod() + " " + httpRequest.getRequestLine().getUri()); in emulateRequest() 122 … httpRequestInfos.add(new HttpRequestInfo(httpRequest, httpHost, httpContext, requestDirector)); in emulateRequest() 145 if (rule.matches(requestInfo.httpRequest)) { in hasRequestMatchingRule()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAndroidHttpClient.java | 61 …public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) throws IOException, Client… in execute() argument 62 return httpClient.execute(httpHost, httpRequest); in execute() 66 …public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) t… in execute() argument 67 return httpClient.execute(httpHost, httpRequest, httpContext); in execute() 81 …public <T> T execute(HttpHost httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> resp… in execute() argument 82 return httpClient.execute(httpHost, httpRequest, responseHandler); in execute() 86 …public <T> T execute(HttpHost httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> resp… in execute() argument 87 return httpClient.execute(httpHost, httpRequest, responseHandler, httpContext); in execute()
|
D | ShadowDefaultRequestDirector.java | 147 …public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) t… in execute() argument 149 …return Robolectric.getFakeHttpLayer().emulateRequest(httpHost, httpRequest, httpContext, realObjec… in execute() 151 return redirector.execute(httpHost, httpRequest, httpContext); in execute()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | HttpClientStack.java | 59 private static void addHeaders(HttpUriRequest httpRequest, Map<String, String> headers) { in addHeaders() argument 61 httpRequest.setHeader(key, headers.get(key)); in addHeaders() 77 HttpUriRequest httpRequest = createHttpRequest(request, additionalHeaders); in performRequest() local 78 addHeaders(httpRequest, additionalHeaders); in performRequest() 79 addHeaders(httpRequest, request.getHeaders()); in performRequest() 80 onPrepareRequest(httpRequest); in performRequest() 81 HttpParams httpParams = httpRequest.getParams(); in performRequest() 87 return mClient.execute(httpRequest); in performRequest() 146 private static void setEntityIfNonEmptyBody(HttpEntityEnclosingRequestBase httpRequest, in setEntityIfNonEmptyBody() argument 151 httpRequest.setEntity(entity); in setEntityIfNonEmptyBody()
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
D | HttpClient4.java | 68 HttpRequestBase httpRequest; in execute() local 79 httpRequest = entityEnclosingMethod; in execute() 81 httpRequest = new HttpDelete(url); in execute() 83 httpRequest = new HttpGet(url); in execute() 86 httpRequest.addHeader(header.getKey(), header.getValue()); in execute() 88 HttpClient client = clientPool.getHttpClient(new URL(httpRequest.getURI().toString())); in execute() 90 HttpResponse httpResponse = client.execute(httpRequest); in execute() 91 … return new HttpMethodResponse(httpRequest, httpResponse, excerpt, request.getContentCharset()); in execute()
|
D | HttpMethodResponse.java | 55 this.httpRequest = request; in HttpMethodResponse() 62 private final HttpRequestBase httpRequest; field in HttpMethodResponse 97 StringBuilder request = new StringBuilder(httpRequest.getMethod()); in dump() 98 request.append(" ").append(httpRequest.getURI().getPath()); in dump() 99 String query = httpRequest.getURI().getQuery(); in dump() 104 for (Header header : httpRequest.getAllHeaders()) { in dump() 107 if (httpRequest instanceof HttpEntityEnclosingRequest) { in dump() 108 HttpEntityEnclosingRequest r = (HttpEntityEnclosingRequest) httpRequest; in dump()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | HttpFacade.java | 101 private HttpURLConnection httpRequest(String url) throws IOException { in httpRequest() method in HttpFacade 134 HttpURLConnection urlConnection = httpRequest(url); in httpDownloadFile() 184 urlConnection = httpRequest(url); in httpPing() 194 HttpURLConnection urlConnection = httpRequest(url); in httpRequestString()
|
/external/clang/test/SemaObjC/ |
D | continuation-class-property.m | 49 @property (nonatomic, readonly, assign) struct evhttp_request *httpRequest; property 59 @property (nonatomic, readwrite, assign) struct evhttp_request *httpRequest;
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | OAuthClient.java | 314 final HttpMessage httpRequest = new HttpMessage(request.method, new URL(url), body); in invoke() local 315 httpRequest.headers.addAll(headers); in invoke() 316 HttpResponseMessage httpResponse = http.execute(httpRequest); in invoke()
|