HomeSort by relevance Sort by last modified time
    Searched refs:Response (Results 101 - 125 of 391) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/beanstalk/
response.py 22 # Everything is either a 'Response', 'list', or 'None/str/int/bool'.
24 if isinstance(value, Response):
43 class Response(BaseObject):
44 def __init__(self, response):
45 super(Response, self).__init__()
47 if response['ResponseMetadata']:
48 self.response_metadata = ResponseMetadata(response['ResponseMetadata'])
54 def __init__(self, response):
57 self.request_id = str(response['RequestId'])
61 def __init__(self, response)
    [all...]
  /external/libbrillo/brillo/dbus/
dbus_method_response.h 27 // response when it is available.
33 // Sends an error response. Marshals the |error| object over D-Bus.
48 // Sends a raw D-Bus response message.
49 void SendRawResponse(std::unique_ptr<dbus::Response> response);
51 // Creates a custom response object for the current method call.
52 std::unique_ptr<dbus::Response> CreateCustomResponse() const;
54 // Checks if the response has been sent already.
60 // Aborts the method execution. Does not send any response message.
64 // A callback to be called to send the method call response message
88 auto response = CreateCustomResponse(); local
    [all...]
utils.cc 18 std::unique_ptr<dbus::Response> CreateDBusErrorResponse(
24 return std::unique_ptr<dbus::Response>(resp.release());
27 std::unique_ptr<dbus::Response> GetDBusError(dbus::MethodCall* method_call,
  /external/libbrillo/brillo/http/
http_transport.h 26 class Response;
33 base::Callback<void(RequestID, std::unique_ptr<Response>)>;
39 // http::Response classes to provide HTTP functionality to the clients.
75 // As soon as all I/O completes for the request/response, or when an error
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/
PostExample.java 7 import com.squareup.okhttp.Response;
22 Response response = client.newCall(request).execute(); local
23 return response.body().string();
41 String response = example.post("http://www.roundsapp.com/post", json); local
42 System.out.println(response);
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
AsynchronousGet.java 22 import com.squareup.okhttp.Response;
38 @Override public void onResponse(Response response) throws IOException {
39 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
41 Headers responseHeaders = response.headers();
46 System.out.println(response.body().string());
CancelCall.java 21 import com.squareup.okhttp.Response;
50 Response response = call.execute(); local
52 (System.nanoTime() - startNanos) / 1e9f, response);
ParseResponseWithGson.java 21 import com.squareup.okhttp.Response;
33 Response response = client.newCall(request).execute(); local
34 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
36 Gist gist = gson.fromJson(response.body().charStream(), Gist.class);
PostMultipart.java 23 import com.squareup.okhttp.Response;
53 Response response = client.newCall(request).execute(); local
54 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
56 System.out.println(response.body().string());
PostStreaming.java 22 import com.squareup.okhttp.Response;
60 Response response = client.newCall(request).execute(); local
61 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
63 System.out.println(response.body().string());
  /external/okhttp/samples/simple-client/src/main/java/com/squareup/okhttp/sample/
OkHttpContributors.java 7 import com.squareup.okhttp.Response;
33 // Execute the request and retrieve the response.
34 Response response = client.newCall(request).execute(); local
36 // Deserialize HTTP response to concrete type.
37 Reader body = response.body().charStream();
  /frameworks/volley/src/test/java/com/android/volley/mock/
WaitableQueue.java 21 import com.android.volley.Response;
64 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
69 protected void deliverResponse(Object response) {
  /system/weaved/buffet/
webserv_client.h 38 class Response;
66 std::unique_ptr<libwebserv::Response> response);
  /system/webservd/libwebserv/
response.h 36 // Response class is a proxy for HTTP response used by the request handler
37 // to provide response HTTP headers and data.
38 class LIBWEBSERV_EXPORT Response {
40 virtual ~Response() = default;
42 // Adds a single HTTP response header to the response.
46 // Adds number of HTTP response headers to the response.
50 // Generic reply method for sending arbitrary binary data response
    [all...]
  /external/chromium-trace/catapult/third_party/webapp2/tests/
extras_appengine_sessions_memcache_test.py 29 rsp = webapp2.Response()
53 rsp = webapp2.Response()
82 rsp = webapp2.Response()
103 rsp = webapp2.Response()
121 rsp = webapp2.Response()
extras_sessions_test.py 33 rsp = webapp2.Response()
46 rsp = webapp2.Response()
70 rsp = webapp2.Response()
101 rsp = webapp2.Response()
122 rsp = webapp2.Response()
140 rsp = webapp2.Response()
156 rsp = webapp2.Response()
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
GZipIntegrationTest.java 60 public Response response; field in class:GZipIntegrationTest.TestServer
67 public Response serve(IHTTPSession session) {
68 return response;
72 protected boolean useGzipWhenAccepted(Response r) {
84 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
87 HttpResponse response = httpclient.execute(request); local
88 Header contentEncoding = response.getFirstHeader("content-encoding");
96 testServer.response = NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.Status.OK, "text/plain", data)
99 HttpResponse response = httpclient.execute(request); local
110 HttpResponse response = httpclient.execute(request); local
121 HttpResponse response = httpclient.execute(request); local
131 HttpResponse response = new DecompressingHttpClient(httpclient).execute(request); local
141 HttpResponse response = new DecompressingHttpClient(httpclient).execute(request); local
149 HttpResponse response = httpclient.execute(request); local
161 HttpResponse response = httpclient.execute(request); local
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordedResponse.java 30 * A received response or failure recorded by the response recorder.
34 public final Response response; field in class:RecordedResponse
39 public RecordedResponse(Request request, Response response, WebSocket webSocket, String body,
42 this.response = response;
64 assertEquals(expectedCode, response.code());
69 assertTrue(response.isSuccessful())
    [all...]
  /external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/internal/huc/
URLEncodingTest.java 22 import com.squareup.okhttp.Response;
134 public Response get(Request request) throws IOException {
140 public CacheRequest put(Response response) throws IOException {
150 public void update(Response cached, Response network) throws IOException {
  /frameworks/volley/src/test/java/com/android/volley/toolbox/
JsonRequestCharsetTest.java 20 import com.android.volley.Response;
61 Response<JSONObject> objectResponse = objectRequest.parseNetworkResponse(network);
74 Response<JSONArray> arrayResponse = arrayRequest.parseNetworkResponse(network);
88 Response<JSONObject> objectResponse = objectRequest.parseNetworkResponse(network);
102 Response<JSONArray> arrayResponse = arrayRequest.parseNetworkResponse(network);
  /external/nanohttpd/nanolets/src/main/java/fi/iki/elonen/router/
RouterNanoHTTPD.java 54 import fi.iki.elonen.NanoHTTPD.Response.IStatus;
55 import fi.iki.elonen.NanoHTTPD.Response.Status;
70 public Response get(UriResource uriResource, Map<String, String> urlParams, IHTTPSession session);
72 public Response put(UriResource uriResource, Map<String, String> urlParams, IHTTPSession session);
74 public Response post(UriResource uriResource, Map<String, String> urlParams, IHTTPSession session);
76 public Response delete(UriResource uriResource, Map<String, String> urlParams, IHTTPSession session);
78 public Response other(String method, UriResource uriResource, Map<String, String> urlParams, IHTTPSession session);
93 public Response get(UriResource uriResource, Map<String, String> urlParams, IHTTPSession session) {
97 public Response post(UriResource uriResource, Map<String, String> urlParams, IHTTPSession session) {
101 public Response put(UriResource uriResource, Map<String, String> urlParams, IHTTPSession session)
    [all...]
  /external/libchrome/dbus/
message.h 45 // sub classes such as MethodCall and Response instead.
201 // Response is a type of message used for receiving a response from a
203 class CHROME_DBUS_EXPORT Response : public Message {
205 // Returns a newly created Response from the given raw message of the
207 static scoped_ptr<Response> FromRawMessage(DBusMessage* raw_message);
209 // Returns a newly created Response from the given method call.
212 static scoped_ptr<Response> FromMethodCall(MethodCall* method_call);
214 // Returns a newly created Response with an empty payload.
216 static scoped_ptr<Response> CreateEmpty()
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Call.java 31 * canceled. As this object represents a single request/response pair (stream),
53 * Invokes the request immediately, and blocks until the response can be
56 * <p>The caller may read the response body with the response's
57 * {@link Response#body} method. To facilitate connection recycling, callers
58 * should always {@link ResponseBody#close() close the response body}.
60 * <p>Note that transport-layer success (receiving a HTTP response code,
62 * {@code response} may still indicate an unhappy HTTP response code like 404
72 public Response execute() throws IOException
162 Response response = getResponseWithInterceptorChain(forWebSocket); local
293 Response response = engine.getResponse(); local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
CacheStrategy.java 6 import com.squareup.okhttp.Response;
25 * Given a request and cached response, this figures out whether to use the
30 * response (if the cached data is potentially stale).
36 /** The cached response to return or validate; or null if this call doesn't use a cache. */
37 public final Response cacheResponse;
39 private CacheStrategy(Request networkRequest, Response cacheResponse) {
45 * Returns true if {@code response} can be stored to later serve another
48 public static boolean isCacheable(Response response, Request request) {
49 // Always go to network for uncacheable response codes (RFC 7231 section 6.1)
    [all...]
  /system/connectivity/shill/dbus/
chromeos_manager_dbus_adaptor_unittest.cc 37 using dbus::Response;
89 scoped_ptr<Response> message(Response::CreateEmpty());
128 scoped_ptr<Response> message(Response::CreateEmpty());
153 scoped_ptr<Response> message(Response::CreateEmpty());

Completed in 458 milliseconds

1 2 3 45 6 7 8 91011>>