| Modifier and Type | Method and Description |
|---|---|
Call |
OkHttpClient.newCall(Request request)
Prepares the
request to be executed at some point in the future. |
Call |
Call.Factory.newCall(Request request) |
| Modifier and Type | Method and Description |
|---|---|
List<Call> |
Dispatcher.queuedCalls()
Returns a snapshot of the calls currently awaiting execution.
|
List<Call> |
Dispatcher.runningCalls()
Returns a snapshot of the calls currently being executed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Callback.onFailure(Call call,
IOException e)
Called when the request could not be executed due to cancellation, a connectivity problem or
timeout.
|
void |
Callback.onResponse(Call call,
Response response)
Called when the HTTP response was successfully returned by the remote server.
|
Copyright © 2016. All Rights Reserved.