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.IOException
public void onFailure(okhttp3.Call call, java.io.IOException ex)
onFailure
in interface okhttp3.Callback
public void onResponse(okhttp3.Call call, okhttp3.Response response) throws java.io.IOException
onResponse
in interface okhttp3.Callback
java.io.IOException