Home
last modified time | relevance | path

Searched refs:responseCallback (Results 1 – 4 of 4) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCall.java105 public void enqueue(Callback responseCallback) { in enqueue() argument
106 enqueue(responseCallback, false); in enqueue()
109 void enqueue(Callback responseCallback, boolean forWebSocket) { in enqueue() argument
114 client.getDispatcher().enqueue(new AsyncCall(responseCallback, forWebSocket)); in enqueue()
139 private final Callback responseCallback; field in Call.AsyncCall
142 private AsyncCall(Callback responseCallback, boolean forWebSocket) { in AsyncCall() argument
144 this.responseCallback = responseCallback; in AsyncCall()
174 responseCallback.onFailure(originalRequest, new IOException("Canceled")); in execute()
177 responseCallback.onResponse(response); in execute()
185 responseCallback.onFailure(request, e); in execute()
DOkHttpClient.java97 public void callEnqueue(Call call, Callback responseCallback, boolean forWebSocket) {
98 call.enqueue(responseCallback, forWebSocket);
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
DWebSocketCall.java95 Callback responseCallback = new Callback() { in enqueue() local
109 Internal.instance.callEnqueue(call, responseCallback, true); in enqueue()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DInternal.java72 public abstract void callEnqueue(Call call, Callback responseCallback, boolean forWebSocket); in callEnqueue() argument