类的使用
com.dtflys.forest.exceptions.ForestRuntimeException
使用ForestRuntimeException的程序包
程序包
说明
-
com.dtflys.forest.callback中ForestRuntimeException的使用
修饰符和类型方法说明voidOnError.onError(ForestRuntimeException ex, ForestRequest req, ForestResponse res) 请求失败后调用该方法 -
com.dtflys.forest.exceptions中ForestRuntimeException的使用
修饰符和类型类说明classForest请求中断异常classForest异步请求中断异常classclassclassclassclassclass未包含文件名异常classclassclassForest返回类型异常classclassclassForest变量未定义异常 -
com.dtflys.forest.interceptor中ForestRuntimeException的使用
修饰符和类型方法说明default voidInterceptor.onError(ForestRuntimeException ex, ForestRequest request, ForestResponse response) 默认回调函数: 请求失败后调用该方法voidInterceptorChain.onError(ForestRuntimeException ex, ForestRequest request, ForestResponse response) -
com.dtflys.forest.lifecycles中ForestRuntimeException的使用
修饰符和类型方法说明default voidBaseAnnotationLifeCycle.onError(ForestRuntimeException ex, ForestRequest request, ForestResponse response) default voidMethodAnnotationLifeCycle.onError(ForestRuntimeException ex, ForestRequest request, ForestResponse response) default voidParameterAnnotationLifeCycle.onError(ForestRuntimeException ex, ForestRequest request, ForestResponse response)