public static final class OkHttpRequestor.AsyncCallback extends Object implements com.squareup.okhttp.Callback
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Response |
getResponse() |
void |
onFailure(com.squareup.okhttp.Request request,
IOException ex) |
void |
onResponse(com.squareup.okhttp.Response response) |
public com.squareup.okhttp.Response getResponse()
throws IOException
IOExceptionpublic void onFailure(com.squareup.okhttp.Request request,
IOException ex)
onFailure in interface com.squareup.okhttp.Callbackpublic void onResponse(com.squareup.okhttp.Response response)
throws IOException
onResponse in interface com.squareup.okhttp.CallbackIOException