Home
last modified time | relevance | path

Searched refs:HttpRequest (Results 1 – 25 of 92) sorted by relevance

1234

/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system_test.cc64 std::vector<HttpRequest*> requests( in TEST()
79 std::unique_ptr<HttpRequest::Factory>( in TEST()
111 std::vector<HttpRequest*> requests({ in TEST()
127 std::unique_ptr<HttpRequest::Factory>( in TEST()
159 std::vector<HttpRequest*> requests({ in TEST()
176 std::unique_ptr<HttpRequest::Factory>( in TEST()
209 std::vector<HttpRequest*> requests( in TEST()
224 std::unique_ptr<HttpRequest::Factory>( in TEST()
258 std::vector<HttpRequest*> requests({new FakeHttpRequest( in TEST()
266 std::unique_ptr<HttpRequest::Factory>( in TEST()
[all …]
Dhttp_request.h43 class HttpRequest {
48 virtual HttpRequest* Create() = 0;
83 virtual void RecordRequest(const HttpRequest* request, const string& uri,
87 virtual void RecordResponse(const HttpRequest* request, const string& uri,
91 HttpRequest() {} in HttpRequest() function
92 virtual ~HttpRequest() {} in ~HttpRequest()
187 TF_DISALLOW_COPY_AND_ASSIGN(HttpRequest);
Dgoogle_auth_provider_test.cc94 std::vector<HttpRequest*> requests; in TEST_F()
98 std::shared_ptr<HttpRequest::Factory> fakeHttpRequestFactory = in TEST_F()
130 std::vector<HttpRequest*> requests; in TEST_F()
133 std::shared_ptr<HttpRequest::Factory> fakeHttpRequestFactory = in TEST_F()
153 std::vector<HttpRequest*> requests( in TEST_F()
182 std::shared_ptr<HttpRequest::Factory> fakeHttpRequestFactory = in TEST_F()
208 std::vector<HttpRequest*> empty_requests; in TEST_F()
210 std::shared_ptr<HttpRequest::Factory> fakeHttpRequestFactory = in TEST_F()
225 std::vector<HttpRequest*> requests({new FakeHttpRequest( in TEST_F()
232 std::shared_ptr<HttpRequest::Factory> fakeHttpRequestFactory = in TEST_F()
Dcompute_engine_metadata_client_test.cc25 std::vector<HttpRequest*> requests({new FakeHttpRequest( in TEST()
31 std::shared_ptr<HttpRequest::Factory> http_factory = in TEST()
46 std::vector<HttpRequest*> requests( in TEST()
58 std::shared_ptr<HttpRequest::Factory> http_factory = in TEST()
Dcurl_http_request_test.cc758 class TestStats : public HttpRequest::RequestStats {
762 void RecordRequest(const HttpRequest* request, const string& uri, in RecordRequest()
763 HttpRequest::RequestMethod method) override { in RecordRequest()
770 void RecordResponse(const HttpRequest* request, const string& uri, in RecordResponse()
771 HttpRequest::RequestMethod method, in RecordResponse()
780 const HttpRequest* record_request_request_ = nullptr;
782 HttpRequest::RequestMethod record_request_method_ =
783 HttpRequest::RequestMethod::kGet;
785 const HttpRequest* record_response_request_ = nullptr;
787 HttpRequest::RequestMethod record_response_method_ =
[all …]
/external/apache-http/src/org/apache/http/client/
DHttpClient.java37 import org.apache.http.HttpRequest;
144 HttpResponse execute(HttpHost target, HttpRequest request) in execute()
167 HttpResponse execute(HttpHost target, HttpRequest request, in execute()
224 HttpRequest request, in execute()
248 HttpRequest request, in execute()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DHttpRequestInfo.java4 import org.apache.http.HttpRequest;
9 HttpRequest httpRequest;
14 …public HttpRequestInfo(HttpRequest httpRequest, HttpHost httpHost, HttpContext httpContext, Reques… in HttpRequestInfo()
21 public HttpRequest getHttpRequest() { in getHttpRequest()
DFakeHttp.java5 import org.apache.http.HttpRequest;
62 public static HttpRequest getSentHttpRequest(int index) { in getSentHttpRequest()
66 public static HttpRequest getLatestSentHttpRequest() { in getLatestSentHttpRequest()
99 public static HttpRequest getNextSentHttpRequest() { in getNextSentHttpRequest()
DFakeHttpLayer.java14 import org.apache.http.HttpRequest;
49 public HttpResponse getResponse(HttpRequest request) { in addPendingHttpResponse()
97 private HttpResponse findResponse(HttpRequest httpRequest) throws HttpException, IOException { in findResponse()
113 …public HttpResponse emulateRequest(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpCon… in emulateRequest()
303 public boolean matches(HttpRequest request) { in matches()
332 public boolean matches(HttpRequest request) { in matches()
346 public boolean matches(HttpRequest request) { in matches()
408 public boolean matches(HttpRequest request) { in matches()
488 public boolean matches(HttpRequest request) { in matches()
DRequestMatcher.java3 import org.apache.http.HttpRequest;
6 public boolean matches(HttpRequest request); in matches()
DParamsParser.java10 import org.apache.http.HttpRequest;
18 public static Map<String, String> parseParams(HttpRequest request) { in parseParams()
45 private static Map<String, String> parseParamsForGet(HttpRequest request) { in parseParamsForGet()
DHttpResponseGenerator.java3 import org.apache.http.HttpRequest;
7 public HttpResponse getResponse(HttpRequest request); in getResponse()
/external/apache-http/src/org/apache/http/protocol/
DHttpRequestExecutor.java40 import org.apache.http.HttpRequest;
84 protected boolean canResponseHaveBody(final HttpRequest request, in canResponseHaveBody()
109 final HttpRequest request, in execute()
152 final HttpRequest request, in preProcess()
189 final HttpRequest request, in doSendRequest()
265 final HttpRequest request, in doReceiveResponse()
DResponseConnControl.java39 import org.apache.http.HttpRequest;
99 HttpRequest request = (HttpRequest) in process()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/
DShadowAndroidHttpClient.java7 import org.apache.http.HttpRequest;
61 protected HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) in execute()
68 HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) in execute()
91 HttpHost httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> responseHandler) in execute()
99 HttpRequest httpRequest, in execute()
/external/apache-http/src/org/apache/http/impl/client/
DRequestWrapper.java37 import org.apache.http.HttpRequest;
67 private final HttpRequest original;
74 public RequestWrapper(final HttpRequest request) throws ProtocolException { in RequestWrapper()
159 public HttpRequest getOriginal() { in getOriginal()
/external/apache-http/android/src/android/net/http/
DAndroidHttpClient.java24 import org.apache.http.HttpRequest;
95 public void process(HttpRequest request, HttpContext context) {
205 public static void modifyRequestToAcceptGzipResponse(HttpRequest request) { in modifyRequestToAcceptGzipResponse()
258 public HttpResponse execute(HttpHost target, HttpRequest request) in execute()
263 public HttpResponse execute(HttpHost target, HttpRequest request, in execute()
280 public <T> T execute(HttpHost target, HttpRequest request, in execute()
286 public <T> T execute(HttpHost target, HttpRequest request, in execute()
385 public void process(HttpRequest request, HttpContext context) in process()
428 HttpRequest original = ((RequestWrapper) request).getOriginal(); in toCurl()
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpRequestFactory.java34 import org.apache.http.HttpRequest;
87 public HttpRequest newHttpRequest(final RequestLine requestline) in newHttpRequest()
104 public HttpRequest newHttpRequest(final String method, final String uri) in newHttpRequest()
DAbstractHttpServerConnection.java40 import org.apache.http.HttpRequest;
143 public HttpRequest receiveRequestHeader() in receiveRequestHeader()
146 HttpRequest request = (HttpRequest) this.requestParser.parse(); in receiveRequestHeader()
/external/python/google-api-python-client/tests/
Dtest_http.py52 from googleapiclient.http import HttpRequest
277 req = HttpRequest(
289 new_req = HttpRequest.from_json(json, http, _postproc_none)
411 request = HttpRequest(
435 request = HttpRequest(
862 request = HttpRequest(
881 request = HttpRequest(
889 request = HttpRequest(
901 request = HttpRequest(
919 request = HttpRequest(
[all …]
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DOkApacheClient.java17 import org.apache.http.HttpRequest;
42 private static Request transformRequest(HttpRequest request) { in transformRequest()
165 @Override public HttpResponse execute(HttpHost host, HttpRequest request) throws IOException { in execute()
169 @Override public HttpResponse execute(HttpHost host, HttpRequest request, HttpContext context) in execute()
186 @Override public <T> T execute(HttpHost host, HttpRequest request, in execute()
191 @Override public <T> T execute(HttpHost host, HttpRequest request, in execute()
/external/apache-http/src/org/apache/http/
DHttpRequestFactory.java50 HttpRequest newHttpRequest(RequestLine requestline) in newHttpRequest()
53 HttpRequest newHttpRequest(String method, String uri) in newHttpRequest()
/external/apache-http/src/org/apache/http/client/methods/
DHttpUriRequest.java36 import org.apache.http.HttpRequest;
55 public interface HttpUriRequest extends HttpRequest {
/external/apache-http/src/org/apache/http/impl/conn/
DProxySelectorRoutePlanner.java45 import org.apache.http.HttpRequest;
124 HttpRequest request, in determineRoute()
190 HttpRequest request, in determineProxy()
268 HttpRequest request, in chooseProxy()
/external/python/httplib2/tests/
Dtest_http.py100 reflected = tests.HttpRequest.from_bytes(content)
110 reflected = tests.HttpRequest.from_bytes(content)
122 reflected = tests.HttpRequest.from_bytes(content)
152 reflected = tests.HttpRequest.from_bytes(content)
162 reflected = tests.HttpRequest.from_bytes(content)
419 reflected = tests.HttpRequest.from_bytes(content)
437 reflected = tests.HttpRequest.from_bytes(content)
507 reflected = tests.HttpRequest.from_bytes(content)
517 reflected = tests.HttpRequest.from_bytes(content)
536 reflected = tests.HttpRequest.from_bytes(content)
[all …]

1234