接口 Callback<T>
-
public interface Callback<T>Http callback.- 作者:
- liaochuntao
-
-
方法详细资料
-
onReceive
void onReceive(RestResult<T> result)
Callback after the request is responded.- 参数:
result-RestResult
-
onError
void onError(java.lang.Throwable throwable)
An error occurred during the request.- 参数:
throwable-Throwable
-
onCancel
void onCancel()
Callback when the request is cancelled.
-
-