Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system_test.cc55 std::vector<HttpRequest*> requests( in TEST()
69 std::unique_ptr<HttpRequest::Factory>( in TEST()
102 std::vector<HttpRequest*> requests({new FakeHttpRequest( in TEST()
112 std::unique_ptr<HttpRequest::Factory>( in TEST()
127 std::vector<HttpRequest*> requests( in TEST()
154 std::unique_ptr<HttpRequest::Factory>( in TEST()
185 std::vector<HttpRequest*> requests({new FakeHttpRequest( in TEST()
195 std::unique_ptr<HttpRequest::Factory>( in TEST()
213 std::vector<HttpRequest*> requests( in TEST()
227 std::unique_ptr<HttpRequest::Factory>( in TEST()
[all …]
Dhttp_request.h42 class HttpRequest {
47 virtual HttpRequest* Create() = 0;
82 virtual void RecordRequest(const HttpRequest* request, const string& uri,
86 virtual void RecordResponse(const HttpRequest* request, const string& uri,
90 HttpRequest() {} in HttpRequest() function
91 virtual ~HttpRequest() {} in ~HttpRequest()
186 TF_DISALLOW_COPY_AND_ASSIGN(HttpRequest);
Dgoogle_auth_provider_test.cc91 std::vector<HttpRequest*> requests; in TEST_F()
95 std::shared_ptr<HttpRequest::Factory> fakeHttpRequestFactory = in TEST_F()
128 std::vector<HttpRequest*> requests; in TEST_F()
131 std::shared_ptr<HttpRequest::Factory> fakeHttpRequestFactory = in TEST_F()
151 std::vector<HttpRequest*> requests( in TEST_F()
180 std::shared_ptr<HttpRequest::Factory> fakeHttpRequestFactory = in TEST_F()
206 std::vector<HttpRequest*> empty_requests; in TEST_F()
208 std::shared_ptr<HttpRequest::Factory> fakeHttpRequestFactory = in TEST_F()
223 std::vector<HttpRequest*> requests({new FakeHttpRequest( in TEST_F()
230 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.cc677 class TestStats : public HttpRequest::RequestStats {
681 void RecordRequest(const HttpRequest* request, const string& uri, in RecordRequest()
682 HttpRequest::RequestMethod method) override { in RecordRequest()
689 void RecordResponse(const HttpRequest* request, const string& uri, in RecordResponse()
690 HttpRequest::RequestMethod method, in RecordResponse()
699 const HttpRequest* record_request_request_ = nullptr;
701 HttpRequest::RequestMethod record_request_method_ =
702 HttpRequest::RequestMethod::kGet;
704 const HttpRequest* record_response_request_ = nullptr;
706 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/webrtc/webrtc/base/
Dhttprequest.cc51 HttpRequest::HttpRequest(const std::string& user_agent) in HttpRequest() function in HttpRequest
59 HttpRequest::~HttpRequest() = default;
61 void HttpRequest::Send() { in Send()
Dhttprequest.h30 class HttpRequest {
32 HttpRequest(const std::string &user_agent);
33 ~HttpRequest();
/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()
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()
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()
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()
DRequestMatcher.java3 import org.apache.http.HttpRequest;
6 public boolean matches(HttpRequest request); in matches()
/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/v8/samples/
Dprocess.cc71 class HttpRequest { class
73 virtual ~HttpRequest() { } in ~HttpRequest()
94 virtual bool Process(HttpRequest* req) = 0;
113 virtual bool Process(HttpRequest* req);
148 Local<Object> WrapRequest(HttpRequest* obj);
149 static HttpRequest* UnwrapRequest(Local<Object> obj);
297 bool JsHttpRequestProcessor::Process(HttpRequest* request) { in Process()
463 Local<Object> JsHttpRequestProcessor::WrapRequest(HttpRequest* request) { in WrapRequest()
499 HttpRequest* JsHttpRequestProcessor::UnwrapRequest(Local<Object> obj) { in UnwrapRequest()
502 return static_cast<HttpRequest*>(ptr); in UnwrapRequest()
[all …]
/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/python/google-api-python-client/tests/
Dtest_http.py51 from googleapiclient.http import HttpRequest
255 req = HttpRequest(
266 new_req = HttpRequest.from_json(json, http, _postproc_none)
374 request = HttpRequest(
402 request = HttpRequest(
838 request = HttpRequest(
856 request = HttpRequest(
867 request = HttpRequest(
879 request = HttpRequest(
895 request = HttpRequest(
[all …]
/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/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/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/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/python/httplib2/tests/
Dtest_http.py102 reflected = tests.HttpRequest.from_bytes(content)
112 reflected = tests.HttpRequest.from_bytes(content)
124 reflected = tests.HttpRequest.from_bytes(content)
154 reflected = tests.HttpRequest.from_bytes(content)
164 reflected = tests.HttpRequest.from_bytes(content)
421 reflected = tests.HttpRequest.from_bytes(content)
439 reflected = tests.HttpRequest.from_bytes(content)
509 reflected = tests.HttpRequest.from_bytes(content)
519 reflected = tests.HttpRequest.from_bytes(content)
538 reflected = tests.HttpRequest.from_bytes(content)
[all …]
/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()

1234