Searched defs:Response (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dlink_error_detector_test.py10 from servlet import Response namespace
54 return Response(
58 return Response(status=404)
H A Dhandler.py12 from servlet import Servlet, Request, Response namespace
44 return Response.Ok('Cron job started.')
48 return Response.Ok('Task enqueued.')
51 return Response.NotFound('"%s" servlet not found' % servlet_path)
H A Dtest_servlet.py9 from servlet import Request, Response, Servlet namespace
49 return Response.NotFound('Test %s not found. Available tests are: %s' % (
71 return Response.InternalError(content=content)
73 return Response.Ok(content="%s test passed." % self._request.path)
H A Drender_servlet.py14 from servlet import Servlet, Response namespace
52 return Response.Redirect('/' + path, permanent=True)
72 return Response.NotFound(response.content.ToString(),
76 return Response.NotFound('Not Found', headers=_MakeHeaders('text/plain'))
79 '''Returns the Response from trying to render |path| with
96 return Response.Redirect(redirect, permanent=False)
101 return Response.Redirect('/' + redirect_path, permanent=False)
106 return Response.Redirect('/' + request_path.rstrip('/'),
150 return Response.NotModified('Not Modified', headers=headers)
151 return Response
[all...]
H A Dpatch_servlet.py20 from servlet import Request, Response, Servlet namespace
93 return Response.Redirect(
100 return Response.NotFound('Malformed URL. It should look like ' +
112 response = Response.NotFound(e.message, {'Content-Type': 'text/plain'})
116 response = Response.Redirect('/_patch/%s%s' % (issue, redirect_url),
H A Drender_servlet_test.py12 from servlet import Request, Response namespace
28 Response.Redirect('/apps/storage', permanent=False),
34 Response.Redirect('/extensions/storage', permanent=True),
39 Response.Redirect('https://developer.chrome.com/extensions',
43 Response.Redirect('https://developer.chrome.com/extensions',
H A Dservlet.py73 class Response(object): class in inherits:object
89 return Response(content=content, headers=headers, status=200)
96 return Response(headers={'Location': url}, status=status)
102 return Response(content=content, headers=headers, status=404)
106 return Response(content=content, headers=headers, status=304)
112 return Response(content=content, headers=headers, status=500)
118 return Response(content=content, headers=headers, status=429)
156 return 'Response(content=%s bytes, status=%s, headers=%s)' % (
167 '''Returns a Response.
H A Dcron_servlet.py21 from servlet import Servlet, Request, Response namespace
126 return (Response.Ok('Success') if success else
127 Response.InternalError('Failure'))
H A Drefresh_servlet.py21 from servlet import Servlet, Request, Response namespace
109 return Response.ThrottledError('Throttled')
122 return (Response.Ok('Success') if success else
123 Response.InternalError('Failure'))
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DResponse.h24 class Response FINAL : public Body {
27 virtual ~Response() { }
28 static Response* create(ExecutionContext*, Blob*, const Dictionary&, ExceptionState&);
29 static Response* create(ExecutionContext*, const String&, const Dictionary&, ExceptionState&);
30 static Response* create(ExecutionContext*, const ArrayBuffer*, const Dictionary&, ExceptionState&);
31 static Response* create(ExecutionContext*, const ArrayBufferView*, const Dictionary&, ExceptionState&);
32 static Response* create(ExecutionContext*, Blob*, const ResponseInit&, ExceptionState&);
33 static Response* create(ExecutionContext*, FetchResponseData*);
34 static Response* create(ExecutionContext*, const WebServiceWorkerResponse&);
36 // immutable to the user after Response creatio
[all...]
H A DResponse.cpp6 #include "Response.h"
49 Response* Response::create(ExecutionContext* context, Blob* body, const Dictionary& responseInit, ExceptionState& exceptionState)
54 Response* Response::create(ExecutionContext* context, const String& body, const Dictionary& responseInit, ExceptionState& exceptionState)
65 Response* Response::create(ExecutionContext* context, const ArrayBuffer* body, const Dictionary& responseInit, ExceptionState& exceptionState)
74 Response* Response::create(ExecutionContext* context, const ArrayBufferView* body, const Dictionary& responseInit, ExceptionState& exceptionState)
83 Response* Respons
223 Response::Response(ExecutionContext* context) function in class:blink::Response
231 Response::Response(const Response& copy_from) function in class:blink::Response
238 Response::Response(ExecutionContext* context, FetchResponseData* response) function in class:blink::Response
247 Response::Response(ExecutionContext* context, const WebServiceWorkerResponse& webResponse) function in class:blink::Response
[all...]
/external/chromium_org/net/tools/quic/
H A Dquic_in_memory_cache.h42 class Response { class in class:net::tools::QuicInMemoryCache
44 Response() : response_type_(REGULAR_RESPONSE) {} function in class:net::tools::QuicInMemoryCache::Response
45 ~Response() {}
65 DISALLOW_COPY_AND_ASSIGN(Response);
74 const Response* GetResponse(const BalsaHeaders& request_headers) const;
97 typedef base::hash_map<std::string, Response*> ResponseMap;
/external/chromium_org/content/browser/appcache/
H A Dappcache_executable_handler.h24 // in 'Response' are empty and use_network is false, an error response is
26 struct Response { struct in class:content::AppCacheExecutableHandler
33 typedef base::Callback<void(const Response&)> ResponseCallback;
/external/chromium_org/net/quic/
H A Dquic_in_memory_cache.cc26 QuicInMemoryCache::Response::Response() : response_type_(REGULAR_RESPONSE) { function in class:net::QuicInMemoryCache::Response
29 QuicInMemoryCache::Response::~Response() {
37 const QuicInMemoryCache::Response* QuicInMemoryCache::GetResponse(
73 LOG(DFATAL) << "Response for given request already exists!";
76 Response* new_response = new Response();
H A Dquic_in_memory_cache.h41 class Response { class in class:net::QuicInMemoryCache
43 Response();
44 ~Response();
64 DISALLOW_COPY_AND_ASSIGN(Response);
73 const Response* GetResponse(const GURL& url) const;
93 typedef base::hash_map<std::string, Response*> ResponseMap;
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_protocol.h19 class Response;
47 scoped_ptr<Response> SuccessResponse(base::DictionaryValue* result);
50 scoped_ptr<Response> InvalidParamResponse(const std::string& param);
58 class Response { class in class:DevToolsProtocol
60 virtual ~Response();
71 Response(int id, int error_code, const std::string error_message);
72 Response(int id, base::DictionaryValue* result);
78 DISALLOW_COPY_AND_ASSIGN(Response);
102 static Response* ParseResponse(const std::string& json);
H A Ddevtools_protocol.cc59 scoped_ptr<DevToolsProtocol::Response>
61 return scoped_ptr<DevToolsProtocol::Response>(
62 new DevToolsProtocol::Response(id_, result));
65 scoped_ptr<DevToolsProtocol::Response>
69 return scoped_ptr<DevToolsProtocol::Response>(
70 new DevToolsProtocol::Response(id_, kErrorInvalidParams, message));
81 DevToolsProtocol::Response::~Response() {
84 DevToolsProtocol::Response::Response(in function in class:DevToolsProtocol::Response
92 DevToolsProtocol::Response::Response(int id, base::DictionaryValue* result) function in class:DevToolsProtocol::Response
[all...]
/external/chromium_org/content/browser/devtools/
H A Ddevtools_protocol.h26 class Response;
56 scoped_refptr<Response> SuccessResponse(base::DictionaryValue* result);
59 scoped_refptr<Response> InternalErrorResponse(const std::string& message);
62 scoped_refptr<Response> InvalidParamResponse(const std::string& param);
65 scoped_refptr<Response> NoSuchMethodErrorResponse();
68 scoped_refptr<Response> ServerErrorResponse(const std::string& message);
71 scoped_refptr<Response> AsyncResponsePromise();
86 class Response : public base::RefCountedThreadSafe<Response> { class in class:content::DevToolsProtocol
93 friend class base::RefCountedThreadSafe<Response>;
[all...]
H A Ddevtools_protocol.cc65 scoped_refptr<DevToolsProtocol::Response>
67 return new DevToolsProtocol::Response(id_, result);
70 scoped_refptr<DevToolsProtocol::Response>
72 return new DevToolsProtocol::Response(id_, kErrorInternalError, message);
75 scoped_refptr<DevToolsProtocol::Response>
79 return new DevToolsProtocol::Response(id_, kErrorInvalidParams, message);
82 scoped_refptr<DevToolsProtocol::Response>
84 return new Response(id_, kErrorNoSuchMethod, "No such method");
87 scoped_refptr<DevToolsProtocol::Response>
89 return new Response(id
134 DevToolsProtocol::Response::Response(int id, base::DictionaryValue* result) function in class:content::DevToolsProtocol::Response
141 DevToolsProtocol::Response::Response(int id, function in class:content::DevToolsProtocol::Response
[all...]
/external/smack/src/org/jivesoftware/smack/sasl/
H A DSASLMechanism.java146 responseStanza = new Response();
149 responseStanza = new Response(StringUtils.encodeBase64(response, false));
244 public class Response extends Packet { class in class:SASLMechanism
247 public Response() { method in class:SASLMechanism.Response
251 public Response(String authenticationText) { method in class:SASLMechanism.Response
/external/chromium_org/dbus/
H A Dmessage.h43 // sub classes such as MethodCall and Response instead.
199 // Response is a type of message used for receiving a response from a
201 class CHROME_DBUS_EXPORT Response : public Message { class in namespace:dbus
203 // Returns a newly created Response from the given raw message of the
205 static scoped_ptr<Response> FromRawMessage(DBusMessage* raw_message);
207 // Returns a newly created Response from the given method call.
210 static scoped_ptr<Response> FromMethodCall(MethodCall* method_call);
212 // Returns a newly created Response with an empty payload.
214 static scoped_ptr<Response> CreateEmpty();
217 // Creates a Response messag
[all...]
/external/nist-sip/java/javax/sip/message/
H A DResponse.java5 public interface Response extends Message { interface in inherits:Message
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DResponse.java46 public final class Response { class
52 private Response networkResponse;
53 private Response cacheResponse;
54 private final Response priorResponse;
59 private Response(Builder builder) { method in class:Response
141 public Response priorResponse() {
150 public Response networkResponse() {
160 public Response cacheResponse() {
195 public boolean validate(Response network) {
378 boolean onResponse(Response respons
[all...]
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/
H A DTestWebServer.java76 private static class Response { class in class:TestWebServer
83 Response(byte[] responseData, List<Pair<String, String>> responseHeaders, method in class:TestWebServer.Response
97 private final Map<String, Response> mResponseMap = new HashMap<String, Response>();
181 mResponseMap.put(requestPath, new Response(
404 Response response = null;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DCookieParser.js99 this._addCookie(kv, WebInspector.Cookie.Type.Response);
368 Response: 1

Completed in 466 milliseconds

12