/prebuilts/go/linux-x86/src/net/http/httputil/ |
reverseproxy_test.go | 126 // a response results in a StatusBadGateway. 360 t.Errorf("got response %v; want nil", res.Status) 556 type RoundTripperFunc func(*http.Request) (*http.Response, error) 558 func (fn RoundTripperFunc) RoundTrip(req *http.Request) (*http.Response, error) { 567 proxyHandler.Transport = RoundTripperFunc(func(req *http.Request) (*http.Response, error) { 597 rproxy.ModifyResponse = func(resp *http.Response) error {
|
reverseproxy.go | 26 // sends it to another server, proxying the response back to the 31 // using Transport. Its response is then copied 43 // response body. 55 // copying HTTP response bodies. 59 // modifies the Response from the backend. 61 ModifyResponse func(*http.Response) error 213 // "Connection" header of the response. 236 // The "Trailer" header isn't included in the Transport's response, 248 // Force chunking if we saw a response trailer.
|
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
reverseproxy.go | 26 // sends it to another server, proxying the response back to the 31 // using Transport. Its response is then copied 43 // response body. 55 // copying HTTP response bodies. 59 // modifies the Response from the backend. 61 ModifyResponse func(*http.Response) error 213 // "Connection" header of the response. 236 // The "Trailer" header isn't included in the Transport's response, 248 // Force chunking if we saw a response trailer.
|
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/ |
HttpImpl.c | 108 and response buffers without informing the appropriate hosts.
663 @retval EFI_NOT_FOUND The asynchronous request or response token is not found.
710 Abort an asynchronous HTTP request or response token.
712 The Cancel() function aborts a pending HTTP request or response transaction. If
717 all asynchronous tokens issued by Request() or Response() will be aborted.
720 @param[in] Token Point to storage containing HTTP request or response
723 @retval EFI_SUCCESS Request and Response queues are successfully flushed.
728 @retval EFI_NOT_FOUND The asynchronous request or response token is not
803 // Free Tx4Token or Tx6Token since already received corrsponding HTTP response.
859 if (HttpMsg->Data.Response != NULL) { [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/ |
DxeTcg2PhysicalPresenceLib.c | 69 @retval EFI_BUFFER_TOO_SMALL Response data buffer is too small.
280 receiving response from TPM.
[all...] |
/external/libbrillo/brillo/dbus/ |
exported_property_set_unittest.cc | 135 auto response = testing::CallMethod(p_->dbus_object_, method_call); local 136 ASSERT_EQ(dbus::Message::MESSAGE_ERROR, response->GetMessageType()); 139 std::unique_ptr<dbus::Response> GetPropertyOnInterface( 151 std::unique_ptr<dbus::Response> SetPropertyOnInterface( 165 std::unique_ptr<dbus::Response> last_response_; 231 auto response = testing::CallMethod(p_->dbus_object_, &method_call); local 232 dbus::MessageReader response_reader(response.get()); 235 // The response should just be a an empty array, since there are no properties 257 auto response = testing::CallMethod(p_->dbus_object_, &method_call); local 258 dbus::MessageReader response_reader(response.get()) 340 auto response = GetPropertyOnInterface(kTestInterface1, kBoolPropName); local 348 auto response = GetPropertyOnInterface(kTestInterface1, kUint8PropName); local 356 auto response = GetPropertyOnInterface(kTestInterface1, kInt16PropName); local 364 auto response = GetPropertyOnInterface(kTestInterface2, kUint16PropName); local 372 auto response = GetPropertyOnInterface(kTestInterface2, kInt32PropName); local 380 auto response = GetPropertyOnInterface(kTestInterface3, kUint32PropName); local 388 auto response = GetPropertyOnInterface(kTestInterface3, kInt64PropName); local 396 auto response = GetPropertyOnInterface(kTestInterface3, kUint64PropName); local 404 auto response = GetPropertyOnInterface(kTestInterface3, kDoublePropName); local 412 auto response = GetPropertyOnInterface(kTestInterface3, kStringPropName); local 420 auto response = GetPropertyOnInterface(kTestInterface3, kPathPropName); local 428 auto response = GetPropertyOnInterface(kTestInterface3, kStringListPropName); local 439 auto response = GetPropertyOnInterface(kTestInterface3, kPathListPropName); local 450 auto response = GetPropertyOnInterface(kTestInterface3, kPathListPropName); local 463 auto response = SetPropertyOnInterface( local 470 auto response = SetPropertyOnInterface( local 477 auto response = SetPropertyOnInterface( local 485 auto response = SetPropertyOnInterface( local 511 auto response = SetPropertyOnInterface( local 525 auto response = SetPropertyOnInterface( local 541 auto response = SetPropertyOnInterface( local 549 auto response = SetPropertyOnInterface( local [all...] |
dbus_object_unittest.cc | 49 void Positive(std::unique_ptr<DBusMethodResponse<double>> response, 52 response->Return(x); 58 response->ReplyWithError(error.get()); 87 std::unique_ptr<DBusMethodResponse<std::string>> response, 89 response->Return(message->GetSender()); 143 void ExpectError(dbus::Response* response, const std::string& expected_code) { 144 EXPECT_EQ(dbus::Message::MESSAGE_ERROR, response->GetMessageType()); 145 EXPECT_EQ(expected_code, response->GetErrorName()); 160 auto response = testing::CallMethod(*dbus_object_, &method_call) local 173 auto response = testing::CallMethod(*dbus_object_, &method_call); local 186 auto response = testing::CallMethod(*dbus_object_, &method_call); local 199 auto response = testing::CallMethod(*dbus_object_, &method_call); local 209 auto response = testing::CallMethod(*dbus_object_, &method_call); local 224 auto response = testing::CallMethod(*dbus_object_, &method_call); local 237 auto response = testing::CallMethod(*dbus_object_, &method_call); local 250 auto response = testing::CallMethod(*dbus_object_, &method_call); local 261 auto response = testing::CallMethod(*dbus_object_, &method_call); local 274 auto response = testing::CallMethod(*dbus_object_, &method_call); local 287 auto response = testing::CallMethod(*dbus_object_, &method_call); local 297 auto response = testing::CallMethod(*dbus_object_, &method_call); local 310 auto response = testing::CallMethod(*dbus_object_, &method_call); local 323 auto response = testing::CallMethod(*dbus_object_, &method_call); local 334 auto response = testing::CallMethod(*dbus_object_, &method_call); local 344 auto response = testing::CallMethod(*dbus_object_, &method_call); local 354 auto response = testing::CallMethod(*dbus_object_, &method_call); local 368 auto response = testing::CallMethod(*dbus_object_, &method_call); local [all...] |
/external/libbrillo/brillo/http/ |
http_utils_unittest.cc | 28 fake::ServerResponse* response) { 29 response->Reply(status_code::Ok, 34 // Returns the request method as a plain text response. 36 fake::ServerResponse* response) { 37 response->ReplyText( 49 auto response = local 58 EXPECT_TRUE(response->IsSuccessful()); 60 response->GetContentType()); 61 EXPECT_EQ(custom_data, response->ExtractData()); 73 std::unique_ptr<http::Response> response) 101 auto response = local 119 auto response = http::SendRequestAndBlock(request_type::kGet, local 136 auto response = http::SendRequestAndBlock(request_type::kPut, local 152 auto response = http::SendRequestWithNoDataAndBlock( local 193 auto response = http::SendRequestAndBlock( local 237 auto response = http::GetAndBlock(kMethodEchoUrl, {}, transport, nullptr); local 261 auto response = http::HeadAndBlock(kFakeUrl, transport, nullptr); local 291 auto response = http::PostBinaryAndBlock(kFakeUrl, local 320 auto response = http::PostTextAndBlock(kFakeUrl, local 336 auto response = http::PostFormDataAndBlock( local 356 auto response = http::PostFormDataAndBlock( local 394 auto response = local 425 auto response = http::PostFormDataAndBlock( local 440 auto response = http::GetAndBlock("http:\/\/bad.url", {}, transport, nullptr); local 456 auto response = http::SendRequestWithNoDataAndBlock( local [all...] |
http_transport_curl_unittest.cc | 211 std::unique_ptr<http::Response> /* resp */) {
|
/external/nist-sip/java/gov/nist/javax/sip/ |
SipProviderImpl.java | 78 import javax.sip.message.Response; 506 "Error sending provisional response"); 554 "Could not send back provisional response!"); 738 * @see javax.sip.SipProvider#sendResponse(javax.sip.message.Response) 740 public void sendResponse(Response response) throws SipException { 743 SIPResponse sipResponse = (SIPResponse) response; 746 throw new SipException("No via header in response!"); 747 SIPServerTransaction st = (SIPServerTransaction) sipStack.findTransaction((SIPMessage)response, true); 749 throw new SipException("Transaction exists -- cannot send response statelessly") 841 Response response = st.getLastResponse(); local 867 SIPResponse response = sipClientTx.getLastResponse(); local [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 24 import com.squareup.okhttp.Response; 300 * Scripts {@code response} to be returned to a request made in sequence. The 301 * first request is served by the first enqueued response; the second request 302 * by the second enqueued response; and so on. 307 public void enqueue(MockResponse response) { 308 ((QueueDispatcher) dispatcher).enqueueResponse(response.clone()); 500 * Respond to CONNECT requests until a SWITCH_TO_SSL_AT_END response is 516 * Reads a request and writes its response. Returns true if further calls should be attempted 527 MockResponse response = dispatcher.dispatch(request); 528 if (response.getSocketPolicy() == SocketPolicy.DISCONNECT_AFTER_REQUEST) [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLib/ |
UefiShellLib.c | [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPDialog.java | 105 import javax.sip.message.Response; 120 * INVITE transactions, a Dialog is created when a success message is received (i.e. a response 150 // Last response (JvB: either sent or received). 398 // resend last response. 405 * Issue 106. Section 13.3.1.4 RFC 3261 The 2xx response is passed to the transport 407 * until it reaches T2 seconds If the server retransmits the 2xx response for 64*T1 424 SIPResponse response = transaction.getLastResponse(); local 425 if (response.getStatusCode() == 200) { 428 // resend the last response. 430 transaction.sendMessage(response); 1461 SIPResponse response = st.getLastResponse(); local 2899 SIPResponse response = request.createResponse(statusCode); local [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
handle_passing_unittest.cc | 98 sample::ResponsePtr response(sample::Response::New()); 99 response->x = 2; 100 response->pipe = std::move(pipe0); 101 callback.Run(std::move(response), text1); 109 // Read the data from the pipe, writing the response (as a string) to 169 sample::ResponsePtr response, 173 if (response->pipe.is_valid()) { 175 EXPECT_TRUE(ReadTextMessage(response->pipe.get(), &text2)); 177 // Ensure that simply accessing response.pipe does not close it [all...] |
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/ |
TestNanolets.java | 111 CloseableHttpResponse response = httpclient.execute(httpget); local 112 HttpEntity entity = response.getEntity(); 116 response.close(); 119 response = httpclient.execute(httppost); 120 entity = response.getEntity(); 124 response.close(); 127 response = httpclient.execute(httpgput); 128 entity = response.getEntity(); 132 response.close(); 135 response = httpclient.execute(httpdelete) 148 CloseableHttpResponse response = httpclient.execute(httpget); local 160 CloseableHttpResponse response = httpclient.execute(httpget); local 172 CloseableHttpResponse response = httpclient.execute(httpget); local 184 CloseableHttpResponse response = httpclient.execute(httpget); local 196 CloseableHttpResponse response = httpclient.execute(httpget); local 241 CloseableHttpResponse response = httpclient.execute(httpget); local 253 CloseableHttpResponse response = httpclient.execute(httpget); local 265 CloseableHttpResponse response = httpclient.execute(httpget); local 284 CloseableHttpResponse response = httpclient.execute(httphead); local 326 CloseableHttpResponse response = httpclient.execute(httphead); local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPResponse.java | 62 * SIP Response structure. 73 implements javax.sip.message.Response, ResponseExt { 318 * Get the status line of the response. 354 /** Return true if the response is a final response. 362 /** Is this a final response? 363 *@return true if this is a final response. 404 * Check the response structure. Must have from, to CSEQ and VIA 673 * Generate a request from a response.
|
/frameworks/base/core/java/android/accounts/ |
AccountManager.java | 731 throw new AuthenticatorException("no result in response"); [all...] |
/system/nvram/hal/ |
nvram_device_adapter.cpp | 43 nvram::Response response; local 44 adapter->nvram_implementation()->Execute(request, &response); 45 if (response.result != NV_RESULT_SUCCESS) { 46 return response.result; 49 ResponsePayload* response_payload_ptr = response.payload.get<command>();
|
/external/libchrome/dbus/ |
bus.cc | 883 std::unique_ptr<Response> response( 884 Response::FromRawMessage(response_message)); 885 MessageReader reader(response.get()); [all...] |
/external/nanohttpd/ |
README.md | 61 public Response serve(IHTTPSession session) {
|
/external/nanohttpd/src/site/markdown/ |
index.md | 61 public Response serve(IHTTPSession session) {
|
/prebuilts/go/darwin-x86/src/net/http/httptrace/ |
trace.go | 74 // ClientTrace currently traces a single HTTP request & response 97 // PutIdleConn is called before the caller's Response.Body.Close 102 // GotFirstResponseByte is called when the first byte of the response 107 // Continue" response.
|
/prebuilts/go/linux-x86/src/net/http/httptrace/ |
trace.go | 74 // ClientTrace currently traces a single HTTP request & response 97 // PutIdleConn is called before the caller's Response.Body.Close 102 // GotFirstResponseByte is called when the first byte of the response 107 // Continue" response.
|
/external/caliper/lib/ |
jersey-core-1.11.jar | |
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
Tcg2Dxe.c | 328 @retval EFI_BUFFER_TOO_SMALL The ProtocolCapability variable is too small to hold the full response.
[all...] |