类 RedirectionLifeCycle
java.lang.Object
com.dtflys.forest.lifecycles.method.RedirectionLifeCycle
- 所有已实现的接口:
OnCanceled,OnError,OnLoadCookie,OnProgress,OnRedirection,OnRetry,OnSaveCookie,OnSuccess<Object>,Interceptor<Object>,MethodAnnotationLifeCycle<Redirection,Object>
public class RedirectionLifeCycle
extends Object
implements MethodAnnotationLifeCycle<Redirection,Object>
标记是否开启解压GZIP响应内容的注解的生命周期类
- 从以下版本开始:
- 1.5.1
- 作者:
- gongjun[dt_flys@hotmail.com]
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonInvokeMethod(ForestRequest request, ForestMethod method, Object[] args) 默认回调函数: 接口方法执行时调用该方法voidonMethodInitialized(ForestMethod method, Redirection 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
-
构造器详细资料
-
RedirectionLifeCycle
public RedirectionLifeCycle()
-
-
方法详细资料
-
onMethodInitialized
-
onInvokeMethod
从接口复制的说明:Interceptor默认回调函数: 接口方法执行时调用该方法默认为什么都不做
- 指定者:
onInvokeMethod在接口中Interceptor<Object>- 参数:
request- Forest请求对象method- Forest方法对象args- 方法调用入参数组
-