Class AsyncCallback

java.lang.Object
net.dreamlu.mica.http.AsyncCallback
All Implemented Interfaces:
okhttp3.Callback

public class AsyncCallback extends Object implements okhttp3.Callback
异步处理
Author:
L.cm
  • Method Details

    • onFailure

      public void onFailure(okhttp3.Call call, IOException e)
      Specified by:
      onFailure in interface okhttp3.Callback
    • onResponse

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