Home
last modified time | relevance | path

Searched refs:httpRequest (Results 1 – 12 of 12) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DHttpRequestInfo.java9 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()
DFakeHttpLayer.java92 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()
111httpRequest.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/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAndroidHttpClient.java61 …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()
DShadowDefaultRequestDirector.java147 …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/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpMethodResponse.java55 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()
DHttpClient4.java68 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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java81 private Request httpRequest; field in RouteSelectorTest
101 httpRequest = new Request.Builder() in setUp()
111 RouteSelector routeSelector = RouteSelector.get(address, httpRequest, client); in singleRoute()
128 RouteSelector routeSelector = RouteSelector.get(address, httpRequest, client); in singleRouteReturnsFailedRoute()
134 routeSelector = RouteSelector.get(address, httpRequest, client); in singleRouteReturnsFailedRoute()
148 RouteSelector routeSelector = RouteSelector.get(address, httpRequest, client); in explicitProxyTriesThatProxysAddressesOnly()
164 RouteSelector routeSelector = RouteSelector.get(address, httpRequest, client); in explicitDirectProxy()
180 RouteSelector routeSelector = RouteSelector.get(address, httpRequest, client); in proxySelectorReturnsNull()
181 proxySelector.assertRequests(httpRequest.uri()); in proxySelectorReturnsNull()
193 RouteSelector routeSelector = RouteSelector.get(address, httpRequest, client); in proxySelectorReturnsNoProxies()
[all …]
/external/clang/test/SemaObjC/
Dcontinuation-class-property.m49 @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/
DOAuthClient.java314 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/jetty/src/java/org/eclipse/jetty/server/handler/
DStatisticsHandler.java103 …public void handle(String path, Request request, HttpServletRequest httpRequest, HttpServletRespon… in handle() argument
126 super.handle(path, request, httpRequest, httpResponse); in handle()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.mortbay.jetty.util_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/jetty/lib/
Djetty-util-6.1.26.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/ ...