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
IOException
public void onFailure(com.squareup.okhttp.Request request, IOException ex)
onFailure
in interface com.squareup.okhttp.Callback
public void onResponse(com.squareup.okhttp.Response response) throws IOException
onResponse
in interface com.squareup.okhttp.Callback
IOException