/external/nist-sip/java/gov/nist/javax/sip/message/ |
ResponseExt.java | 3 import javax.sip.message.Response; 6 *Extension for the jain-sip Response interface. This is a convenience 9 public interface ResponseExt extends Response, MessageExt {
|
/external/nist-sip/java/javax/sip/ |
ServerTransaction.java | 3 import javax.sip.message.Response; 6 void sendResponse(Response response)
|
ResponseEvent.java | 4 import javax.sip.message.Response; 8 private Response mResponse; 12 Dialog dialog, Response response) { 15 mResponse = response; 23 public Response getResponse() {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
OkResponseCache.java | 22 * An extended response cache API. Unlike {@link java.net.ResponseCache}, this 26 Response get(Request request) throws IOException; 28 CacheRequest put(Response response) throws IOException; 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 44 void update(Response cached, Response network) throws IOException; 49 /** Track an HTTP response being satisfied by {@code source}. * [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
Response.h | 23 class Response FINAL : public ScriptWrappable, public RefCounted<Response> { 25 static PassRefPtr<Response> create(Blob* body, const Dictionary& responseInit); 26 ~Response() { }; 39 Response(PassRefPtr<BlobDataHandle>, const ResponseInit&);
|
Response.cpp | 6 #include "Response.h" 16 PassRefPtr<Response> Response::create(Blob* body, const Dictionary& responseInit) 22 return adoptRef(new Response(blobDataHandle.release(), ResponseInit(responseInit))); 25 PassRefPtr<HeaderMap> Response::headers() const 31 void Response::populateWebServiceWorkerResponse(blink::WebServiceWorkerResponse& response) 33 response.setStatus(status()); 34 response.setStatusText(statusText()); 35 response.setHeaders(m_headers->headerMap()) [all...] |
RespondWithObserver.h | 15 class Response; 42 // Sends a response back to the client. The null response means to fallback 44 void sendResponse(PassRefPtr<Response>);
|
/frameworks/volley/src/com/android/volley/ |
Response.java | 20 * Encapsulates a parsed response for delivery. 22 * @param <T> Parsed type of this response 24 public class Response<T> { 28 /** Called when a response is received. */ 29 public void onResponse(T response); 41 /** Returns a successful response containing the parsed result. */ 42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) { 43 return new Response<T>(result, cacheEntry); 47 * Returns a failed response containing the given error code and an optional 50 public static <T> Response<T> error(VolleyError error) [all...] |
ResponseDelivery.java | 21 * Parses a response from the network or cache and delivers it. 23 public void postResponse(Request<?> request, Response<?> response); 26 * Parses a response from the network or cache and delivers it. The provided 29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable);
|
ExecutorDelivery.java | 31 * Creates a new response delivery interface. 45 * Creates a new response delivery interface, mockable version 54 public void postResponse(Request<?> request, Response<?> response) { 55 postResponse(request, response, null); 59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { 61 request.addMarker("post-response"); 62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable)); 68 Response<?> response = Response.error(error) local [all...] |
/external/chromium_org/content/browser/devtools/ |
devtools_power_handler.h | 26 scoped_refptr<DevToolsProtocol::Response> OnStart( 28 scoped_refptr<DevToolsProtocol::Response> OnEnd( 30 scoped_refptr<DevToolsProtocol::Response> OnCanProfilePower(
|
renderer_overrides_handler.h | 51 scoped_refptr<DevToolsProtocol::Response> 56 scoped_refptr<DevToolsProtocol::Response> ClearBrowserCache( 58 scoped_refptr<DevToolsProtocol::Response> ClearBrowserCookies( 62 scoped_refptr<DevToolsProtocol::Response> PageDisable( 64 scoped_refptr<DevToolsProtocol::Response> PageHandleJavaScriptDialog( 66 scoped_refptr<DevToolsProtocol::Response> PageNavigate( 68 scoped_refptr<DevToolsProtocol::Response> PageReload( 70 scoped_refptr<DevToolsProtocol::Response> PageGetNavigationHistory( 72 scoped_refptr<DevToolsProtocol::Response> PageNavigateToHistoryEntry( 74 scoped_refptr<DevToolsProtocol::Response> PageCaptureScreenshot [all...] |
devtools_protocol.h | 26 class Response; 55 // Creates success response. Takes ownership of |result|. 56 scoped_refptr<Response> SuccessResponse(base::DictionaryValue* result); 58 // Creates error response. 59 scoped_refptr<Response> InternalErrorResponse(const std::string& message); 61 // Creates error response. 62 scoped_refptr<Response> InvalidParamResponse(const std::string& param); 64 // Creates error response. 65 scoped_refptr<Response> NoSuchMethodErrorResponse(); 67 // Creates error response [all...] |
devtools_system_info_handler.h | 20 scoped_refptr<DevToolsProtocol::Response> OnGetInfo(
|
devtools_protocol.cc | 65 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_, kErrorServerError, message) 111 base::DictionaryValue response; local 240 scoped_refptr<Response> response = local 318 scoped_refptr<Response> response = local [all...] |
/external/chromium_org/chrome/browser/devtools/ |
devtools_protocol.h | 19 class Response; 46 // Creates success response. Takes ownership of |result|. 47 scoped_ptr<Response> SuccessResponse(base::DictionaryValue* result); 49 // Creates error response. 50 scoped_ptr<Response> InvalidParamResponse(const std::string& param); 58 class Response { 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); [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpDeleteRequestTest.java | 15 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, ""); 33 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (String)null); 51 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (InputStream)null); 69 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.OK, "application/xml", "<body />") [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
JsonArrayRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 31 * A request for retrieving a {@link JSONArray} response body at a given URL. 38 * @param listener Listener to receive the JSON response 46 protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) { 49 new String(response.data, HttpHeaderParser.parseCharset(response.headers)); 50 return Response.success(new JSONArray(jsonString) [all...] |
JsonObjectRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 31 * A request for retrieving a {@link JSONObject} response body at a given URL, allowing for an 42 * @param listener Listener to receive the JSON response 64 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) { 67 new String(response.data, HttpHeaderParser.parseCharset(response.headers)); 68 return Response.success(new JSONObject(jsonString) [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
Response.java | 22 public interface Response<IN, OUT> {
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
MockResponseDelivery.java | 20 import com.android.volley.Response; 33 public Response<?> responsePosted = null; 35 public void postResponse(Request<?> request, Response<?> response) { 37 responsePosted = response; 41 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { 43 responsePosted = response;
|
/external/chromium_org/webkit/browser/appcache/ |
appcache_executable_handler.h | 24 // in 'Response' are empty and use_network is false, an error response is 26 struct Response { 33 typedef base::Callback<void(const Response&)> ResponseCallback;
|
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
InternalRewrite.java | 5 import static fi.iki.elonen.NanoHTTPD.Response; 11 public class InternalRewrite extends Response {
|
/external/chromium_org/net/quic/ |
quic_in_memory_cache.h | 39 // Container for response header/body pairs. 40 class Response { 42 Response() : response_type_(REGULAR_RESPONSE) {} 43 ~Response() {} 63 DISALLOW_COPY_AND_ASSIGN(Response); 69 // Retrieve a response from this cache for a given request. 70 // If no appropriate response exists, NULL is returned. 72 const Response* GetResponse(const BalsaHeaders& request_headers) const; 74 // Adds a simple response to the cache. The response headers wil [all...] |
/external/chromium_org/net/tools/quic/ |
quic_in_memory_cache.h | 41 // Container for response header/body pairs. 42 class Response { 44 Response() : response_type_(REGULAR_RESPONSE) {} 45 ~Response() {} 65 DISALLOW_COPY_AND_ASSIGN(Response); 71 // Retrieve a response from this cache for a given request. 72 // If no appropriate response exists, NULL is returned. 74 const Response* GetResponse(const BalsaHeaders& request_headers) const; 76 // Adds a simple response to the cache. The response headers wil [all...] |