/external/volley/core/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() 54 HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null); in createDeprecatedPostRequest() local 55 assertTrue(httpRequest instanceof HttpPost); in createDeprecatedPostRequest() 63 HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null); in createGetRequest() local 64 assertTrue(httpRequest instanceof HttpGet); in createGetRequest() 72 HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null); in createPostRequest() local 73 assertTrue(httpRequest instanceof HttpPost); in createPostRequest() 81 HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null); in createPostRequestWithBody() local 82 assertTrue(httpRequest instanceof HttpPost); in createPostRequestWithBody() [all …]
|
/external/robolectric/shadows/httpclient/src/main/java/org/robolectric/shadows/ |
D | ShadowAndroidHttpClient.java | 60 protected HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) in execute() argument 62 return httpClient.execute(httpHost, httpRequest); in execute() 67 HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) in execute() argument 69 return httpClient.execute(httpHost, httpRequest, httpContext); in execute() 90 HttpHost httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> responseHandler) in execute() argument 92 return httpClient.execute(httpHost, httpRequest, responseHandler); in execute() 98 HttpRequest httpRequest, in execute() argument 102 return httpClient.execute(httpHost, httpRequest, responseHandler, httpContext); in execute()
|
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/ |
D | ShadowAndroidHttpClient.java | 61 protected HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) in execute() argument 63 return httpClient.execute(httpHost, httpRequest); in execute() 68 HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) in execute() argument 70 return httpClient.execute(httpHost, httpRequest, httpContext); in execute() 91 HttpHost httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> responseHandler) in execute() argument 93 return httpClient.execute(httpHost, httpRequest, responseHandler); in execute() 99 HttpRequest httpRequest, in execute() argument 103 return httpClient.execute(httpHost, httpRequest, responseHandler, httpContext); in execute()
|
/external/volley/core/src/main/java/com/android/volley/toolbox/ |
D | HttpClientStack.java | 61 private static void setHeaders(HttpUriRequest httpRequest, Map<String, String> headers) { in setHeaders() argument 63 httpRequest.setHeader(key, headers.get(key)); in setHeaders() 79 HttpUriRequest httpRequest = createHttpRequest(request, additionalHeaders); in performRequest() local 80 setHeaders(httpRequest, additionalHeaders); in performRequest() 83 setHeaders(httpRequest, request.getHeaders()); in performRequest() 84 onPrepareRequest(httpRequest); in performRequest() 85 HttpParams httpParams = httpRequest.getParams(); in performRequest() 91 return mClient.execute(httpRequest); in performRequest() 156 HttpEntityEnclosingRequestBase httpRequest, Request<?> request) in setEntityIfNonEmptyBody() argument 161 httpRequest.setEntity(entity); in setEntityIfNonEmptyBody()
|
/external/robolectric/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
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 | 97 private HttpResponse findResponse(HttpRequest httpRequest) throws HttpException, IOException { in findResponse() argument 99 return pendingHttpResponses.remove(0).getResponse(httpRequest); in findResponse() 103 if (httpResponseRule.matches(httpRequest)) { in findResponse() 108 System.err.println("Unexpected HTTP call " + httpRequest.getRequestLine()); in findResponse() 113 …public HttpResponse emulateRequest(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpCon… in emulateRequest() argument 115 System.out.println(" <-- " + httpRequest.getRequestLine()); in emulateRequest() 117 HttpResponse httpResponse = findResponse(httpRequest); in emulateRequest() 127 + httpRequest.getRequestLine().getMethod() in emulateRequest() 129 + httpRequest.getRequestLine().getUri()); in emulateRequest() 140 addRequestInfo(new HttpRequestInfo(httpRequest, httpHost, httpContext, requestDirector)); in emulateRequest() [all …]
|
D | ShadowDefaultRequestDirector.java | 175 HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) in execute() argument 178 … return FakeHttp.getFakeHttpLayer().emulateRequest(httpHost, httpRequest, httpContext, realObject); in execute() 180 …FakeHttp.getFakeHttpLayer().addRequestInfo(new HttpRequestInfo(httpRequest, httpHost, httpContext,… in execute() 181 HttpResponse response = redirector.execute(httpHost, httpRequest, httpContext); in execute()
|
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/ |
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 | 97 private HttpResponse findResponse(HttpRequest httpRequest) throws HttpException, IOException { in findResponse() argument 99 return pendingHttpResponses.remove(0).getResponse(httpRequest); in findResponse() 103 if (httpResponseRule.matches(httpRequest)) { in findResponse() 108 System.err.println("Unexpected HTTP call " + httpRequest.getRequestLine()); in findResponse() 113 …public HttpResponse emulateRequest(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpCon… in emulateRequest() argument 115 System.out.println(" <-- " + httpRequest.getRequestLine()); in emulateRequest() 117 HttpResponse httpResponse = findResponse(httpRequest); in emulateRequest() 124 httpRequest.getRequestLine().getMethod() + " " + httpRequest.getRequestLine().getUri()); in emulateRequest() 135 addRequestInfo(new HttpRequestInfo(httpRequest, httpHost, httpContext, requestDirector)); in emulateRequest() 170 if (rule.matches(requestInfo.httpRequest)) { in hasRequestMatchingRule()
|
D | ShadowDefaultRequestDirector.java | 167 HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) in execute() argument 170 … return FakeHttp.getFakeHttpLayer().emulateRequest(httpHost, httpRequest, httpContext, realObject); in execute() 172 …FakeHttp.getFakeHttpLayer().addRequestInfo(new HttpRequestInfo(httpRequest, httpHost, httpContext,… in execute() 173 HttpResponse response = redirector.execute(httpHost, httpRequest, httpContext); in execute()
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
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()
|
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()
|
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/testing/ |
D | TestHttpServer.java | 113 (httpRequest, httpResponse, httpContext) -> { in registerFile() 117 setHttpStatusCode(httpRequest, httpResponse, eTag); in registerFile() 119 || HEAD_REQUEST_METHOD.equals(httpRequest.getRequestLine().getMethod())) { in registerFile() 184 HttpRequest httpRequest, HttpResponse httpResponse, String eTag) { in setHttpStatusCode() argument 185 Header[] headers = httpRequest.getAllHeaders(); in setHttpStatusCode()
|
/external/ot-br-posix/src/web/web-service/frontend/res/js/ |
D | app.js | 258 var httpRequest = $http({ 264 httpRequest.then(function successCallback(response) { 324 var httpRequest = $http({ 330 httpRequest.then(function successCallback(response) { 372 var httpRequest = $http({ 378 httpRequest.then(function successCallback(response) { 398 var httpRequest = $http({ 404 httpRequest.then(function successCallback(response) { 417 var httpRequest = $http({ 425 httpRequest.then(function successCallback(response) {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | HttpFacade.java | 102 private HttpURLConnection httpRequest(String url, Integer timeout) throws IOException { in httpRequest() method in HttpFacade 141 HttpURLConnection urlConnection = httpRequest(url, null); in httpDownloadFile() 192 urlConnection = httpRequest(url, timeout); in httpPing() 199 HttpURLConnection urlConnection = httpRequest(url, null); 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()
|
/external/brotli/fetch-spec/ |
D | shared-brotli-fetch-spec.txt | 26 Add to point `15. Modify httpRequest’s header list per HTTP.`:
|