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