Searched defs:response (Results 76 - 100 of 710) sorted by relevance

1234567891011>>

/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
H A DQueueDispatcher.java40 // Fail fast if there's no response queued up.
54 public void enqueueResponse(MockResponse response) { argument
55 responseQueue.add(response);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DOkResponseCache.java22 * An extended response cache API. Unlike {@link java.net.ResponseCache}, this
28 CacheRequest put(Response response) throws IOException; argument
39 * Handles a conditional request hit by updating the stored cache response
40 * with the headers from {@code network}. The cached response body is not
41 * updated. If the stored response has changed since {@code cached} was
49 /** Track an HTTP response being satisfied by {@code source}. */
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttpAuthenticator.java91 * React to a failed authorization response by looking up new credentials.
96 OkAuthenticator authenticator, Response response, Proxy proxy) throws IOException {
99 if (response.code() == HTTP_UNAUTHORIZED) {
102 } else if (response.code() == HTTP_PROXY_AUTH) {
108 List<Challenge> challenges = parseChallenges(response.headers(), responseField);
111 Request request = response.request();
112 Credential credential = response.code() == HTTP_PROXY_AUTH
95 processAuthHeader( OkAuthenticator authenticator, Response response, Proxy proxy) argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DRecordingReceiver.java43 @Override public synchronized boolean onResponse(Response response) throws IOException { argument
44 ByteArrayOutputStream out = inFlightResponses.get(response);
47 inFlightResponses.put(response, out);
51 Response.Body body = response.body();
57 inFlightResponses.remove(response);
59 response.request(), response, out.toString("UTF-8"), null));
71 * Returns the recorded response triggered by {@code request}. Throws if the
72 * response isn't enqueued before the timeout.
90 throw new AssertionError("Timed out waiting for response t
[all...]
/external/smack/src/com/kenai/jbosh/
H A DHTTPExchange.java26 * A request and response pair representing a single exchange with a remote
28 * the relationship between the request and response but allows the response
50 * Condition used to signal when the response has been set.
57 private HTTPResponse response; field in class:HTTPExchange
63 * Create a new request/response pair object.
94 if (response != null) {
98 response = resp;
113 while (response == null) {
120 return response;
[all...]
/external/apache-http/src/org/apache/http/client/protocol/
H A DResponseProcessCookies.java54 * contained in response cookies received in the given the HTTP response.
75 public void process(final HttpResponse response, final HttpContext context) argument
77 if (response == null) {
105 HeaderIterator it = response.headerIterator(SM.SET_COOKIE);
112 it = response.headerIterator(SM.SET_COOKIE2);
/external/chromium_org/chrome/browser/extensions/
H A Dgtalk_extension_browsertest.cc75 std::string response; local
78 &response));
79 return response;
/external/chromium_org/chrome/browser/feedback/system_logs/log_sources/
H A Dchrome_internal_log_source.cc39 SystemLogsResponse response; local
42 response[kChromeVersionTag] = version_info.CreateVersionString();
48 response[kOsVersionTag] = os_version;
51 PopulateSyncLogs(&response);
52 PopulateExtensionInfoLogs(&response);
54 callback.Run(&response);
57 void ChromeInternalLogSource::PopulateSyncLogs(SystemLogsResponse* response) { argument
92 (*response)[kSyncDataKey] = sync_logs_string;
96 SystemLogsResponse* response) {
126 (*response)[kExtensionsListKe
95 PopulateExtensionInfoLogs( SystemLogsResponse* response) argument
[all...]
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dincident_report_uploader_impl.cc80 scoped_ptr<ClientIncidentResponse> response; local
86 response.reset(new ClientIncidentResponse());
87 if (!response->ParseFromString(data)) {
88 response.reset();
96 callback_.Run(result, response.Pass());
/external/chromium_org/chromeos/dbus/
H A Dblocking_method_caller_unittest.cc91 // Returns a response for the given method call. Used to implement
100 scoped_ptr<dbus::Response> response = dbus::Response::CreateEmpty(); local
101 dbus::MessageWriter writer(response.get());
103 return response.release();
126 scoped_ptr<dbus::Response> response(
129 // Check the response.
130 ASSERT_TRUE(response.get());
131 dbus::MessageReader reader(response.get());
H A Dbluetooth_agent_manager_client.cc103 // Called when a response for successful method call is received.
105 dbus::Response* response) {
106 DCHECK(response);
110 // Called when a response for a failed method call is received.
112 dbus::ErrorResponse* response) {
113 // Error response has optional error message argument.
116 if (response) {
117 dbus::MessageReader reader(response);
118 error_name = response->GetErrorName();
104 OnSuccess(const base::Closure& callback, dbus::Response* response) argument
111 OnError(const ErrorCallback& error_callback, dbus::ErrorResponse* response) argument
H A Dbluetooth_gatt_manager_client.cc91 // Called when a response for a successful method call is received.
92 void OnSuccess(const base::Closure& callback, dbus::Response* response) { argument
93 DCHECK(response);
97 // Called when a response for a failed method call is received.
99 dbus::ErrorResponse* response) {
100 // Error response has optional error message argument.
103 if (response) {
104 dbus::MessageReader reader(response);
105 error_name = response->GetErrorName();
98 OnError(const ErrorCallback& error_callback, dbus::ErrorResponse* response) argument
H A Dnfc_property_set.cc48 void NfcPropertySet::OnGetAll(dbus::Response* response) { argument
55 dbus::PropertySet::OnGetAll(response);
56 if (response) {
H A Dsms_client.cc59 void OnGetAll(const GetAllCallback& callback, dbus::Response* response) { argument
60 if (!response) {
66 dbus::MessageReader reader(response);
70 LOG(WARNING) << "Invalid response: " << response->ToString();
/external/chromium_org/components/dom_distiller/core/
H A Ddistiller_url_fetcher.cc59 std::string response; local
64 source->GetResponseAsString(&response);
66 callback_.Run(response);
H A Ddistiller_url_fetcher_unittest.cc25 void FetcherCallback(const std::string& response) { argument
26 response_ = response;
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_fetch_dispatcher.cc82 const ServiceWorkerResponse& response) {
89 fetch_callback.Run(status, fetch_result, response);
79 DidFinish( ServiceWorkerStatusCode status, ServiceWorkerFetchEventResult fetch_result, const ServiceWorkerResponse& response) argument
/external/chromium_org/content/public/test/
H A Djavascript_test_observer.cc71 TestMessageHandler::MessageResponse response = local
74 if (response == TestMessageHandler::DONE) {
/external/chromium_org/content/renderer/fetchers/
H A Dweb_url_loader_client_impl.cc23 blink::WebURLLoader* loader, const blink::WebURLResponse& response) {
25 response_ = response;
22 didReceiveResponse( blink::WebURLLoader* loader, const blink::WebURLResponse& response) argument
H A Dweb_url_loader_client_impl.h36 const blink::WebURLResponse& response() const { return response_; } function in class:content::WebURLLoaderClientImpl
47 blink::WebURLLoader* loader, const blink::WebURLResponse& response);
69 // A copy of the original resource response.
/external/chromium_org/content/test/
H A Dweburl_loader_mock.cc31 const blink::WebURLResponse& response,
40 client_->didReceiveResponse(this, response);
69 blink::WebURLResponse& response,
73 factory_->LoadSynchronously(request, &response, &error, &data);
80 default_loader_->loadSynchronously(request, response, error, data);
30 ServeAsynchronousRequest( const blink::WebURLResponse& response, const blink::WebData& data, const blink::WebURLError& error) argument
68 loadSynchronously(const blink::WebURLRequest& request, blink::WebURLResponse& response, blink::WebURLError& error, blink::WebData& data) argument
/external/chromium_org/mojo/examples/content_handler_demo/
H A Dcontent_handler_demo.cc26 URLResponsePtr response,
77 URLResponsePtr response,
81 content_handler_app_->PrintResponse(response->body.Pass());
75 OnConnect( const mojo::String& url, URLResponsePtr response, InterfaceRequest<ServiceProvider> service_provider) argument
/external/chromium_org/net/http/
H A Dproxy_client_socket.cc47 HttpResponseInfo* response,
49 DCHECK(response->headers.get());
50 int rv = auth->HandleAuthChallenge(response->headers, false, true, net_log);
51 response->auth_challenge = auth->auth_info();
75 bool ProxyClientSocket::SanitizeProxyRedirect(HttpResponseInfo* response, argument
77 DCHECK(response && response->headers.get());
80 if (!response->headers->IsRedirect(&location))
83 // Return minimal headers; set "Content-length: 0" to ignore response body.
94 response
46 HandleProxyAuthChallenge(HttpAuthController* auth, HttpResponseInfo* response, const BoundNetLog& net_log) argument
[all...]
/external/chromium_org/net/server/
H A Dhttp_server_response_info.cc22 HttpServerResponseInfo response(HTTP_NOT_FOUND);
23 response.SetBody(std::string(), "text/html");
24 return response;
30 HttpServerResponseInfo response(HTTP_INTERNAL_SERVER_ERROR);
31 response.SetBody(body, "text/html");
32 return response;
56 std::string response = base::StringPrintf( local
60 response += header->first + ":" + header->second + "\r\n";
62 return response + "\r\n" + body_;
/external/chromium_org/sync/engine/
H A Dapply_control_data_updates.cc214 UpdateAttemptResponse response = AttemptToUpdateEntry( local
216 DCHECK_EQ(SUCCESS, response);

Completed in 3312 milliseconds

1234567891011>>