/external/jetty/src/java/org/eclipse/jetty/server/ |
Response.java | 57 /** Response. 62 public class Response implements HttpServletResponse 64 private static final Logger LOG = Log.getLogger(Response.class); 87 public static Response getResponse(HttpServletResponse response) 89 if (response instanceof Response) 90 return (Response)response; 111 public Response(AbstractHttpConnection connection [all...] |
AbstractHttpConnection.java | 72 * to associate {@link Request} and {@link Response} instances with a {@link EndPoint}. 76 * pooling. The {@link Request}, {@link Response}, {@link HttpParser}, {@link HttpGenerator} 83 * response state and the continuation state. All three state machines must be driven 88 * response code is 101 (switch protocols), then the org.eclipse.jetty.io.Connection 92 * don't use 101 responses (eg CONNECT), the response should be sent and then the 120 protected final Response _response; 163 _response = new Response(this); 181 _response = new Response(this); 310 * @return Returns the response. 312 public Response getResponse( [all...] |
/prebuilts/go/darwin-x86/src/net/rpc/jsonrpc/ |
all_test.go | 224 err := sc.WriteResponse(&rpc.Response{ 233 t.Fatalf("Response didn't contain expected error %q: %s", errorText, &out) 236 t.Errorf("Response contains both an error and value: %s", &out)
|
server.go | 30 // the response to find the original request ID. 102 func (c *serverCodec) WriteResponse(r *rpc.Response, x interface{}) error { 107 return errors.New("invalid sequence number in response")
|
/prebuilts/go/linux-x86/src/net/rpc/jsonrpc/ |
all_test.go | 224 err := sc.WriteResponse(&rpc.Response{ 233 t.Fatalf("Response didn't contain expected error %q: %s", errorText, &out) 236 t.Errorf("Response contains both an error and value: %s", &out)
|
server.go | 30 // the response to find the original request ID. 102 func (c *serverCodec) WriteResponse(r *rpc.Response, x interface{}) error { 107 return errors.New("invalid sequence number in response")
|
/prebuilts/go/darwin-x86/src/net/rpc/ |
server.go | 174 // Response is a header written before every RPC return. It is used internally 177 type Response struct { 181 next *Response // for free list in Server 191 freeResp *Response 347 // A value sent as a placeholder for the server's response value when the server 348 // receives an invalid request. It is never decoded by the client since the Response 354 // Encode the response header 364 log.Println("rpc: writing response:", err) 410 func (c *gobServerCodec) WriteResponse(r *Response, body interface{}) (err error) { 415 log.Println("rpc: gob error encoding response:", err [all...] |
/prebuilts/go/linux-x86/src/net/rpc/ |
server.go | 174 // Response is a header written before every RPC return. It is used internally 177 type Response struct { 181 next *Response // for free list in Server 191 freeResp *Response 347 // A value sent as a placeholder for the server's response value when the server 348 // receives an invalid request. It is never decoded by the client since the Response 354 // Encode the response header 364 log.Println("rpc: writing response:", err) 410 func (c *gobServerCodec) WriteResponse(r *Response, body interface{}) (err error) { 415 log.Println("rpc: gob error encoding response:", err [all...] |
/external/chromium-trace/catapult/third_party/webapp2/ |
webapp2.py | 123 #: A reference to the active :class:`Response` instance. 124 response = None variable in class:Request 338 class Response(webob.Response): 339 """Abstraction for an HTTP response. 344 Differences from webapp.Response: 347 response itself, as it has the method ``write()``. 352 - ``response.headers`` raises an exception when a key that doesn't exist 360 """Constructs a response with the default settings.""" 361 super(Response, self).__init__(*args, **kwargs 502 response = None variable in class:RequestHandler [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/roboto/ |
awsqueryrequest.py | 164 Response = {} 283 self.process_markers(self.Response) 452 response = self.main() 453 self.cli_formatter(response) 501 self._generic_cli_formatter(self.Response, data)
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPTransaction.java | 57 import javax.sip.message.Response; 840 * either by a 1xx Provisional Response for an early dialog or a 200OK 841 * Response for a committed dialog. 877 * Get the last response. This is used internally by the implementation. 880 * @return the last response received (for client transactions) or sent (for 888 * Get the JAIN interface response 890 public Response getResponse() { 891 return (Response) this.lastResponse; [all...] |
TLSMessageChannel.java | 55 import javax.sip.message.Response; 157 // Can drop this after response is sent potentially. 353 // JvB: send a 400 response for requests (except ACK) 407 // For response, this has already been recorded in the outgoing 493 SIPResponse response = sipRequest local 494 .createResponse(Response.SERVICE_UNAVAILABLE); 498 // Be a good citizen and send a decent response code back. 501 response.setHeader(retryAfter); 502 this.sendMessage(response); 517 .logError("Dropping Badly formatted response message >>> [all...] |
SIPServerTransaction.java | 61 import javax.sip.message.Response; 81 * send response+-----------+ 83 * | | Proceeding| |send response 90 * send response | |send response | 94 * send response+-----------+ send response | 130 * | |send response 132 * |send response | 135 * send response+-----------+send response [all...] |
/system/core/libutils/ |
Looper.cpp | 191 const Response& response = mResponses.itemAt(mResponseIndex++); 192 int ident = response.request.ident; 194 int fd = response.request.fd; 195 int events = response.events; 196 void* data = response.request.data; 353 // Invoke all response callbacks. 355 Response& response = mResponses.editItemAt(i); 356 if (response.request.ident == POLL_CALLBACK) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/ |
__init__.py | 106 'Http', 'Response', 'ProxyInfo', 'HttpLib2Error', 'RedirectMissingLocation', 141 def __init__(self, desc, response, content): 142 self.response = response 200 def _get_end2end_headers(response): 202 hopbyhop.extend([x.strip() for x in response.get('connection', '').split(',')]) 203 return [header for header in response.keys() if header not in hopbyhop] 395 def _decompressContent(response, new_content): 398 encoding = response.get('content-encoding', None) 404 response['content-length'] = str(len(content) 488 def response(self, response, content): member in class:Authentication 552 def response(self, response, content): member in class:DigestAuthentication 621 def response(self, response, content): member in class:HmacDigestAuthentication [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/httplib2/ |
__init__.py | 66 __all__ = ['Http', 'Response', 'ProxyInfo', 'HttpLib2Error', 85 def __init__(self, desc, response, content): 86 self.response = response 130 def _get_end2end_headers(response): 132 hopbyhop.extend([x.strip() for x in response.get('connection', '').split(',')]) 133 return [header for header in list(response.keys()) if header not in hopbyhop] 324 def _decompressContent(response, new_content): 327 encoding = response.get('content-encoding', None) 333 response['content-length'] = str(len(content) 438 def response(self, response, content): member in class:Authentication 522 def response(self, response, content): member in class:DigestAuthentication 591 def response(self, response, content): member in class:HmacDigestAuthentication [all...] |
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
extras_auth_test.py | 31 rsp = webapp2.Response() 67 rsp = webapp2.Response()
|
handler_test.py | 16 def __init__(self, request, response): 17 self.response = response 18 response.write('I am not a RequestHandler but I work.') 21 return self.response 26 self.response.out.write('home sweet home') 29 self.response.out.write('home sweet home - POST') 34 self.response.out.write('home sweet home - PUT') 37 self.response.out.write('home sweet home - DELETE') 40 self.response.out.write('home sweet home - HEAD' [all...] |
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
persist.go | 169 // Write writes resp in response to req. To close the connection gracefully, set the 170 // Response.Close field to true. Write should be considered operational until 172 func (sc *ServerConn) Write(req *http.Request, resp *http.Response) error { 174 // Retrieve the pipeline ID of this request/response pair 357 // Read reads the next response from the wire. A valid response might be 361 func (cc *ClientConn) Read(req *http.Request) (resp *http.Response, err error) { 362 // Retrieve the pipeline ID of this request/response pair 422 // Do is convenience method that writes a request and reads a response. 423 func (cc *ClientConn) Do(req *http.Request) (resp *http.Response, err error) [all...] |
/prebuilts/go/linux-x86/src/net/http/httputil/ |
persist.go | 169 // Write writes resp in response to req. To close the connection gracefully, set the 170 // Response.Close field to true. Write should be considered operational until 172 func (sc *ServerConn) Write(req *http.Request, resp *http.Response) error { 174 // Retrieve the pipeline ID of this request/response pair 357 // Read reads the next response from the wire. A valid response might be 361 func (cc *ClientConn) Read(req *http.Request) (resp *http.Response, err error) { 362 // Retrieve the pipeline ID of this request/response pair 422 // Do is convenience method that writes a request and reads a response. 423 func (cc *ClientConn) Do(req *http.Request) (resp *http.Response, err error) [all...] |
/external/chromium-trace/catapult/third_party/WebOb/docs/comment-example-code/ |
example.py | 6 from webob import Request, Response, html_escape 25 # Not an HTML response, we don't want to
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ecs/ |
item.py | 28 """A Generic "Response Group", which can 30 specific response elements within an item"""
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mws/ |
response.py | 164 response = self.find_element(action, 'Response', Response) 165 if not hasattr(response, action + 'Result'): 167 setattr(response, action + 'Result', Element(result)) 168 return response(connection=connection) 249 class Response(ResponseElement): 257 return super(Response, self).startElement(name, attrs, connection) 265 return (self._name or self.__class__.__name__)[:-len('Response')] 268 class ResponseResultList(Response) [all...] |
/external/libbrillo/brillo/dbus/ |
exported_object_manager_unittest.cc | 124 std::unique_ptr<dbus::Response> CallHandleGetManagedObjects() { 154 auto response = CallHandleGetManagedObjects(); local 155 dbus::MessageReader reader(response.get()); 168 auto response = CallHandleGetManagedObjects(); local 169 dbus::MessageReader reader(response.get());
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ |
test_connection.py | 375 responses = [HTTPretty.Response(body="{'test': 'fail'}", status=500), 376 HTTPretty.Response(body="{'test': 'success'}", status=200)]
|