Package com.dropbox.core.http
Class OkHttpRequestor.AsyncCallback
- java.lang.Object
-
- com.dropbox.core.http.OkHttpRequestor.AsyncCallback
-
- All Implemented Interfaces:
com.squareup.okhttp.Callback
- Enclosing class:
- OkHttpRequestor
public static final class OkHttpRequestor.AsyncCallback extends java.lang.Object implements com.squareup.okhttp.Callback
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.squareup.okhttp.Response
getResponse()
void
onFailure(com.squareup.okhttp.Request request, java.io.IOException ex)
void
onResponse(com.squareup.okhttp.Response response)
-
-
-
Method Detail
-
getResponse
public com.squareup.okhttp.Response getResponse() throws java.io.IOException
- Throws:
java.io.IOException
-
onFailure
public void onFailure(com.squareup.okhttp.Request request, java.io.IOException ex)
- Specified by:
onFailure
in interfacecom.squareup.okhttp.Callback
-
onResponse
public void onResponse(com.squareup.okhttp.Response response) throws java.io.IOException
- Specified by:
onResponse
in interfacecom.squareup.okhttp.Callback
- Throws:
java.io.IOException
-
-