/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() {
|
/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/ |
renderer_overrides_handler.h | 48 scoped_refptr<DevToolsProtocol::Response> 53 scoped_refptr<DevToolsProtocol::Response> PageDisable( 55 scoped_refptr<DevToolsProtocol::Response> PageHandleJavaScriptDialog( 57 scoped_refptr<DevToolsProtocol::Response> PageNavigate( 59 scoped_refptr<DevToolsProtocol::Response> PageReload( 61 scoped_refptr<DevToolsProtocol::Response> PageGetNavigationHistory( 63 scoped_refptr<DevToolsProtocol::Response> PageNavigateToHistoryEntry( 65 scoped_refptr<DevToolsProtocol::Response> PageCaptureScreenshot( 67 scoped_refptr<DevToolsProtocol::Response> PageCanScreencast( 69 scoped_refptr<DevToolsProtocol::Response> PageStartScreencast [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 async response promise [all...] |
devtools_system_info_handler.h | 20 scoped_refptr<DevToolsProtocol::Response> OnGetInfo(
|
devtools_protocol.cc | 64 scoped_refptr<DevToolsProtocol::Response> 66 return new DevToolsProtocol::Response(id_, result); 69 scoped_refptr<DevToolsProtocol::Response> 71 return new DevToolsProtocol::Response(id_, kErrorInternalError, message); 74 scoped_refptr<DevToolsProtocol::Response> 78 return new DevToolsProtocol::Response(id_, kErrorInvalidParams, message); 81 scoped_refptr<DevToolsProtocol::Response> 83 return new Response(id_, kErrorNoSuchMethod, "No such method"); 86 scoped_refptr<DevToolsProtocol::Response> 88 scoped_refptr<DevToolsProtocol::Response> promise 105 base::DictionaryValue response; local 227 scoped_refptr<Response> response = local 283 scoped_refptr<Response> response = local [all...] |
devtools_tracing_handler.h | 30 scoped_refptr<DevToolsProtocol::Response> OnStart( 32 scoped_refptr<DevToolsProtocol::Response> OnEnd(
|
tethering_handler.h | 28 scoped_refptr<DevToolsProtocol::Response> OnBind( 30 scoped_refptr<DevToolsProtocol::Response> OnUnbind(
|
/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...] |
StringRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 28 * A canned request for retrieving the response body at a given URL as a String. 38 * @param listener Listener to receive the String response 51 * @param listener Listener to receive the String response 59 protected void deliverResponse(String response) { 60 mListener.onResponse(response); 64 protected Response<String> parseNetworkResponse(NetworkResponse response) { [all...] |
/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/chromium_org/net/tools/quic/ |
quic_in_memory_cache.h | 35 // Container for response header/body pairs. 36 class Response { 38 Response() {} 39 ~Response() {} 57 DISALLOW_COPY_AND_ASSIGN(Response); 63 // Retrieve a response from this cache for a given request. 64 // If no appropriate response exists, NULL is returned. 66 const Response* GetResponse(const BalsaHeaders& request_headers) const; 68 // Adds a simple response to the cache. The response headers wil [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Job.java | 20 import com.squareup.okhttp.Response; 27 final Response.Receiver responseReceiver; 31 Response.Receiver responseReceiver) { 41 Response response = readResponse(); local 42 responseReceiver.onResponse(response); 73 private Response readResponse() throws IOException { 75 Response.Builder responseBuilder = new Response.Builder(request, responseCode);
|
/external/chromium_org/chrome/browser/devtools/ |
devtools_protocol.h | 52 class Response { 54 virtual ~Response(); 62 Response(int id, int error_code); 66 DISALLOW_COPY_AND_ASSIGN(Response); 87 static Response* ParseResponse(const std::string& json);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
link_error_detector_test.py | 10 from servlet import Response 54 return Response( 58 return Response(status=404)
|
/external/chromium_org/dbus/ |
mock_object_proxy.h | 28 MOCK_METHOD2(MockCallMethodAndBlock, Response*(MethodCall* method_call, 30 virtual scoped_ptr<Response> CallMethodAndBlock(MethodCall* method_call, 32 return scoped_ptr<Response>(MockCallMethodAndBlock(method_call,
|
/external/nist-sip/java/gov/nist/javax/sip/ |
ResponseEventExt.java | 6 import javax.sip.message.Response; 16 Dialog dialog, Response response) { 17 super(source,clientTransaction,dialog,response); 22 * Return true if this is a forked response. 24 * @return true if the response event is for a forked response. 31 * Set the original transaction for a forked response. 33 * @param originalTransaction - the original transaction for which this response event is a fork. 40 * Get the original transaction for which this is a forked response [all...] |
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
AuthenticationHelper.java | 12 import javax.sip.message.Response; 30 * the specified Response (Challenge) and appends it to the challenged 36 * the 401/407 challenge response 55 public abstract ClientTransaction handleChallenge(Response challenge,
|
/external/chromium_org/chrome/browser/chromeos/dbus/ |
service_provider_test_helper.h | 55 scoped_ptr<dbus::Response> CallMethod(dbus::MethodCall* method_call); 68 // Calls exported method and waits for a response for |mock_object_proxy_|. 69 dbus::Response* MockCallMethodAndBlock( 83 // Receives a response and makes it available to MockCallMethodAndBlock(). 84 void OnResponse(scoped_ptr<dbus::Response> response); 93 scoped_ptr<dbus::Response> response_;
|