类 RetryLifeCycle
java.lang.Object
com.dtflys.forest.lifecycles.method.RetryLifeCycle
- 所有已实现的接口:
OnCanceled,OnError,OnLoadCookie,OnProgress,OnRedirection,OnRetry,OnSaveCookie,OnSuccess<Object>,Interceptor<Object>,MethodAnnotationLifeCycle<Retry,Object>
重试注解的生命周期类
- 作者:
- gongjun [dt_flys@hotmail.com]
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonInvokeMethod(ForestRequest request, ForestMethod method, Object[] args) 默认回调函数: 接口方法执行时调用该方法voidonMethodInitialized(ForestMethod method, Retry annotation) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.dtflys.forest.interceptor.Interceptor
addAttribute, afterExecute, beforeExecute, getAttribute, getAttribute, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsInteger, getAttributeAsString, getAttributes, onBodyEncode, onCanceled, onLoadCookie, onProgress, onRedirection, onRetry, onSaveCookie从接口继承的方法 com.dtflys.forest.lifecycles.MethodAnnotationLifeCycle
onError, onSuccess
-
构造器详细资料
-
RetryLifeCycle
public RetryLifeCycle()
-
-
方法详细资料
-
onMethodInitialized
- 指定者:
onMethodInitialized在接口中MethodAnnotationLifeCycle<Retry,Object>
-
onInvokeMethod
从接口复制的说明:Interceptor默认回调函数: 接口方法执行时调用该方法默认为什么都不做
- 指定者:
onInvokeMethod在接口中Interceptor<Object>- 参数:
request- Forest请求对象method- Forest方法对象args- 方法调用入参数组
-