public static final class OkHttp3Requestor.AsyncCallback
extends java.lang.Object
implements okhttp3.Callback
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Response |
getResponse() |
void |
onFailure(okhttp3.Call call,
java.io.IOException ex) |
void |
onResponse(okhttp3.Call call,
okhttp3.Response response) |
public okhttp3.Response getResponse()
throws java.io.IOException
java.io.IOExceptionpublic void onFailure(okhttp3.Call call,
java.io.IOException ex)
onFailure in interface okhttp3.Callbackpublic void onResponse(okhttp3.Call call,
okhttp3.Response response)
throws java.io.IOException
onResponse in interface okhttp3.Callbackjava.io.IOException