/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/ |
Response.java | 18 final class Response { 21 Response(String data) {
|
SimpleComponent.java | 23 ListenableFuture<Response> response(); method in interface:SimpleComponent
|
/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 {
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
JsonRequestTest.java | 19 import com.android.volley.Response; 35 Response.Listener.class, Response.ErrorListener.class)); 37 Response.Listener.class, Response.ErrorListener.class)); 40 Response.Listener.class, Response.ErrorListener.class)); 42 Response.Listener.class, Response.ErrorListener.class)); 45 Response.Listener.class, Response.ErrorListener.class)) [all...] |
StringRequestTest.java | 19 import com.android.volley.Response; 32 assertNotNull(StringRequest.class.getConstructor(String.class, Response.Listener.class, 33 Response.ErrorListener.class)); 35 Response.Listener.class, Response.ErrorListener.class));
|
ResponseTest.java | 21 import com.android.volley.Response; 37 assertNotNull(Response.class.getMethod("success", Object.class, Cache.Entry.class)); 38 assertNotNull(Response.class.getMethod("error", VolleyError.class)); 39 assertNotNull(Response.class.getMethod("isSuccess")); 41 assertNotNull(Response.Listener.class.getDeclaredMethod("onResponse", Object.class)); 43 assertNotNull(Response.ErrorListener.class.getDeclaredMethod("onErrorResponse",
|
/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/internal/ |
InternalCache.java | 19 import com.squareup.okhttp.Response; 29 Response get(Request request) throws IOException; 31 CacheRequest put(Response response) throws IOException; 40 * Handles a conditional request hit by updating the stored cache response 41 * with the headers from {@code network}. The cached response body is not 42 * updated. If the stored response has changed since {@code cached} was 45 void update(Response cached, Response network) throws IOException; 50 /** Track an HTTP response being satisfied with {@code cacheStrategy}. * [all...] |
/frameworks/volley/src/main/java/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);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Authenticator.java | 27 * challenge in {@code response}. Returns null if the challenge cannot be 28 * satisfied. This method is called in response to an HTTP 401 unauthorized 36 * return response.request().newBuilder() 41 Request authenticate(Proxy proxy, Response response) throws IOException; 45 * challenge made by {@code response}. Returns null if the challenge cannot be 46 * satisfied. This method is called in response to an HTTP 407 unauthorized 54 * return response.request().newBuilder() 59 Request authenticateProxy(Proxy proxy, Response response) throws IOException [all...] |
Interceptor.java | 23 * on the request or response. 26 Response intercept(Chain chain) throws IOException; 30 Response proceed(Request request) throws IOException;
|
Callback.java | 30 * Called when the HTTP response was successfully returned by the remote 31 * server. The callback may proceed to read the response body with {@link 32 * Response#body}. The response is still live until its response body is 33 * closed with {@code response.body().close()}. The recipient of the callback 34 * may even consume the response body on another thread. 36 * <p>Note that transport-layer success (receiving a HTTP response code, 38 * success: {@code response} may still indicate an unhappy HTTP response [all...] |
/system/webservd/libwebserv/ |
request_handler_interface.h | 21 #include <libwebserv/response.h> 28 // send response. 32 void(std::unique_ptr<Request>, std::unique_ptr<Response>); 36 std::unique_ptr<Response> response) = 0;
|
request_utils.h | 28 class Response; 32 std::unique_ptr<Response> response, 37 std::unique_ptr<Response> response, 43 // The function takes ownership of the request and response objects for the 47 std::unique_ptr<Response> response,
|
/frameworks/volley/src/main/java/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 51 * @param listener Listener to receive the JSON response 61 protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) { 63 String jsonString = new String(response.data, 64 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)) [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) { 66 String jsonString = new String(response.data, 67 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); 68 return Response.success(new JSONObject(jsonString) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Transport.java | 20 import com.squareup.okhttp.Response; 48 /** Read and return response headers. */ 49 Response.Builder readResponseHeaders() throws IOException; 51 /** Returns a stream that reads the response body. */ 52 ResponseBody openResponseBody(Response response) throws IOException; 55 * Configures the response body to pool or close the socket connection when 56 * the response body is closed.
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/ |
WebSocketListener.java | 18 import com.squareup.okhttp.Response; 36 void onOpen(WebSocket webSocket, Response response); 41 * @param response Present when the failure is a direct result of the response (e.g., failed 42 * upgrade, non-101 response code, etc.). {@code null} otherwise. 44 void onFailure(IOException e, Response response);
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
RequestLog.java | 29 public void log(Request request, Response response);
|
/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/ |
DummyPlugin.java | 42 import fi.iki.elonen.NanoHTTPD.Response; 43 import fi.iki.elonen.NanoHTTPD.Response.Status; 57 public Response serveFile(String uri, Map<String, String> headers, IHTTPSession session, File file, String mimeType) { 60 return new Response(Status.OK, "text/xml", data, bytes.length);
|
/frameworks/base/telecomm/java/android/telecom/ |
Response.java | 22 public interface Response<IN, OUT> {
|
/frameworks/volley/src/test/java/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;
|
/packages/services/Telephony/src/com/android/services/telephony/activation/ |
SimActivationManager.java | 24 * or fails. When done, sends back a response if needed. 32 public interface Response { 40 public void runActivation(int trigger, Response response) { 49 if (response != null) { 50 response.onResponse(TelephonyManager.SIM_ACTIVATION_RESULT_COMPLETE);
|