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

1 2 3 4 5 6 78 91011>>

  /external/chromium-trace/catapult/third_party/WebOb/docs/wiki-example-code/
example.py 3 from webob import Request, Response
97 resp = Response(text)
121 return Response(text)
  /external/chromium-trace/catapult/third_party/WebOb/webob/
static.py 6 from webob.response import Response
57 return Response(
147 return Response(
165 return Response(
  /external/chromium-trace/catapult/third_party/typ/typ/
pool.py 33 Response = 'Response'
39 values = [Request, Response, Close, Done, Error, Interrupt]
87 assert msg_type == _MessageType.Response
169 responses.put((_MessageType.Response, resp))
  /external/jetty/src/java/org/eclipse/jetty/servlet/
DefaultServlet.java 55 import org.eclipse.jetty.server.Response;
406 protected void doGet(HttpServletRequest request, HttpServletResponse response)
462 // Tell caches that response may vary by accept-encoding
463 response.addHeader(HttpHeaders.VARY,HttpHeaders.ACCEPT_ENCODING);
492 response.sendError(HttpServletResponse.SC_NOT_FOUND);
502 response.sendRedirect(response.encodeRedirectURL(URIUtil.addPaths(_servletContext.getContextPath(),pathInContext)));
508 content=new HttpContent.ResourceAsHttpContent(resource,_mimeTypes.getMimeByExtension(resource.toString()),response.getBufferSize(),_etags);
510 if (included.booleanValue() || passConditionalHeaders(request,response, resource,content))
514 response.setHeader(HttpHeaders.CONTENT_ENCODING,"gzip")
    [all...]
  /external/libbrillo/brillo/dbus/
dbus_method_invoker.h 12 // CallMethodAndBlock invokes the D-Bus method and returns the Response.
14 // The method call response should be parsed with ExtractMethodCallResults().
88 // timeout. If a timeout occurs, the response object contains an error object
91 // Returns a dbus::Response object on success. On failure, returns nullptr and
94 inline std::unique_ptr<dbus::Response> CallMethodAndBlockWithTimeout(
106 auto response = object->CallMethodAndBlockWithErrorDetails( local
108 if (!response) {
125 return std::unique_ptr<dbus::Response>(response.release());
130 inline std::unique_ptr<dbus::Response> CallMethodAndBlock
    [all...]
  /external/libbrillo/brillo/http/
http_connection.h 22 class Response;
34 // http::Request and http::Response classes use it for communication.
35 // Effectively this class is the interface for the request/response objects to
39 // response object until all the data is sent to the server and the response
52 // response.
60 // If needed, this function can be called to customize where the response
64 // to receive the response data. The method will block until the whole
65 // response message is received, or if an error occur in which case the
68 // Send the request asynchronously and invoke the callback with the response
    [all...]
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/
GwtNet.java 41 import com.google.gwt.http.client.Response;
51 private Response response; field in class:GwtNet.HttpClientResponse
54 public HttpClientResponse (Response response) {
55 this.response = response;
56 this.status = new HttpStatus(response.getStatusCode());
66 return response.getText();
82 Header[] responseHeaders = response.getHeaders()
    [all...]
  /external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
WebSocketCall.java 23 import com.squareup.okhttp.Response;
92 * <p>This client will later call back {@code responseCallback} with either an HTTP response or a
100 @Override public void onResponse(Response response) throws IOException {
102 createWebSocket(response, listener);
104 listener.onFailure(e, response);
121 private void createWebSocket(Response response, WebSocketListener listener)
123 if (response.code() != 101) {
126 throw new ProtocolException("Expected HTTP 101 response but was '
    [all...]
  /external/skia/tools/skiaserve/urlhandlers/
CmdHandler.cpp 12 #include "../Response.h"
14 using namespace Response;
InfoHandler.cpp 13 #include "../Response.h"
15 using namespace Response;
PostHandler.cpp 12 #include "../Response.h"
14 using namespace Response;
  /packages/services/Telephony/src/com/android/services/telephony/activation/
SimActivationActivity.java 49 final PendingIntent response = local
52 Log.i(this, "Running activation w/ response " + response);
56 new SimActivationManager.Response() {
59 if (response != null) {
61 response.send();
70 // Return the response as an activity result and the pending intent.
  /system/webservd/libwebserv/
response_impl.h 24 #include <libwebserv/response.h>
30 // Implementation of the Response interface.
31 class ResponseImpl final : public Response {
35 // Overrides from Response.
  /system/tpm/tpm_manager/client/
tpm_nvram_dbus_proxy_test.cc 62 auto response = dbus::Response::CreateEmpty();
63 dbus::MessageWriter writer(response.get());
67 response_callback.Run(response.release());
96 auto response = dbus::Response::CreateEmpty();
97 dbus::MessageWriter writer(response.get());
101 response_callback.Run(response.release());
131 auto response = dbus::Response::CreateEmpty()
    [all...]
  /system/tpm/attestation/client/
dbus_proxy_test.cc 62 auto response = dbus::Response::CreateEmpty();
63 dbus::MessageWriter writer(response.get());
69 response_callback.Run(response.release());
104 auto response = dbus::Response::CreateEmpty();
105 dbus::MessageWriter writer(response.get());
115 response_callback.Run(response.release());
149 auto response = dbus::Response::CreateEmpty()
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
FramedTransport.java 22 import com.squareup.okhttp.Response;
103 @Override public Response.Builder readResponseHeaders() throws IOException {
170 /** Returns headers for a name value block containing a SPDY response. */
171 public static Response.Builder readNameValueBlock(List<Header> headerBlock,
200 return new Response.Builder()
207 @Override public ResponseBody openResponseBody(Response response) throws IOException {
208 return new RealResponseBody(response.headers(), Okio.buffer(stream.getSource()));
  /external/libchrome/dbus/
message.cc 395 // Response implementation.
398 Response::Response() : Message() {
401 scoped_ptr<Response> Response::FromRawMessage(DBusMessage* raw_message) {
405 scoped_ptr<Response> response(new Response);
406 response->Init(raw_message);
407 return response;
    [all...]
object_proxy.cc 49 void EmptyResponseCallbackBody(Response* /*response*/) {
72 scoped_ptr<Response> ObjectProxy::CallMethodAndBlockWithErrorDetails(
79 return scoped_ptr<Response>();
100 return scoped_ptr<Response>();
106 return Response::FromRawMessage(response_message);
109 scoped_ptr<Response> ObjectProxy::CallMethodAndBlock(MethodCall* method_call,
165 // Wait for the response in the D-Bus thread.
323 // The response is not received.
338 scoped_ptr<Response> response(Response::FromRawMessage(response_message))
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/message/
MessageFactoryImpl.java 257 // Standard Response Creation methods
260 * Creates a new Response message of type specified by the statusCode
286 public Response createResponse(int statusCode, CallIdHeader callId,
293 throw new NullPointerException(" unable to create the response");
317 * Creates a new Response message of type specified by the statusCode
343 public Response createResponse(int statusCode, CallIdHeader callId,
369 * Creates a new Response message of type specified by the statusCode
371 * Response does not contain a body.
390 public Response createResponse(int statusCode, CallIdHeader callId,
397 + ", unable to create the response", 0)
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/
libhttplib2.tex 121 A 3xx redirect response code was provided but no Location: header
139 The headers claimed that the content of the response was compressed but the
178 \begin{classdesc}{Response}{info}
179 Response is a subclass of \class{dict} and instances of this
235 The return value is a tuple of (response, content), the first being and instance of the
236 \class{Response} class, the second being a string that contains the response entity body.
285 those error conditions will be turned into \class{Response} objects
292 Defaults to \code{False}. If \code{True}, then any etags present in the cached response
324 \subsection{Response Objects
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/
client.go 47 // method returns both the previous Response and
62 // redirects, and reading the response body. The timer remains
64 // interrupt reading of the Response.Body.
79 // single HTTP transaction, obtaining the Response for a given Request.
85 // the Response for the request req. RoundTrip should not
86 // attempt to interpret the response. In particular,
87 // RoundTrip must return err == nil if it obtained a response,
88 // regardless of the response's HTTP status code. A non-nil
89 // err should be reserved for failure to obtain a response.
98 RoundTrip(*Request) (*Response, error
    [all...]
  /prebuilts/go/linux-x86/src/net/http/
client.go 47 // method returns both the previous Response and
62 // redirects, and reading the response body. The timer remains
64 // interrupt reading of the Response.Body.
79 // single HTTP transaction, obtaining the Response for a given Request.
85 // the Response for the request req. RoundTrip should not
86 // attempt to interpret the response. In particular,
87 // RoundTrip must return err == nil if it obtained a response,
88 // regardless of the response's HTTP status code. A non-nil
89 // err should be reserved for failure to obtain a response.
98 RoundTrip(*Request) (*Response, error
    [all...]
  /external/chromium-trace/catapult/third_party/webtest/webtest/
http.py 70 resp = webob.Response()
82 return webob.Response('server started')(environ, start_response)
  /external/jetty/src/java/org/eclipse/jetty/server/handler/
DebugHandler.java 31 import org.eclipse.jetty.server.Response;
39 * Details of the request and response are written to an output stream
54 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response)
57 final Response base_response = baseRequest.getResponse();
81 getHandler().handle(target,baseRequest,request,response);
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpServerTest.java 64 public Response response = newFixedLengthResponse(""); field in class:HttpServerTest.TestServer
99 public Response serve(IHTTPSession session) {
113 return this.response;

Completed in 447 milliseconds

1 2 3 4 5 6 78 91011>>