Class OkHttp3Requestor.AsyncCallback

  • All Implemented Interfaces:
    okhttp3.Callback
    Enclosing class:
    OkHttp3Requestor

    public static final class OkHttp3Requestor.AsyncCallback
    extends java.lang.Object
    implements okhttp3.Callback
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      okhttp3.Response getResponse()  
      void onFailure​(okhttp3.Call call, java.io.IOException ex)  
      void onResponse​(okhttp3.Call call, okhttp3.Response response)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getResponse

        public okhttp3.Response getResponse()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • onFailure

        public void onFailure​(okhttp3.Call call,
                              java.io.IOException ex)
        Specified by:
        onFailure in interface okhttp3.Callback
      • onResponse

        public void onResponse​(okhttp3.Call call,
                               okhttp3.Response response)
                        throws java.io.IOException
        Specified by:
        onResponse in interface okhttp3.Callback
        Throws:
        java.io.IOException