类 HeaderLifeCycle
java.lang.Object
com.dtflys.forest.lifecycles.parameter.HeaderLifeCycle
- 所有已实现的接口:
OnCanceled,OnError,OnLoadCookie,OnProgress,OnRedirection,OnRetry,OnSaveCookie,OnSuccess<Object>,Interceptor<Object>,ParameterAnnotationLifeCycle<Header,Object>
Forest @Header注解的生命周期
- 从以下版本开始:
- 2020-08-21 1:31
- 作者:
- gongjun[dt_flys@hotmail.com]
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonParameterInitialized(ForestMethod method, MappingParameter parameter, Header 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, onInvokeMethod, onLoadCookie, onProgress, onRedirection, onRetry, onSaveCookie从接口继承的方法 com.dtflys.forest.lifecycles.ParameterAnnotationLifeCycle
onError, onSuccess
-
构造器详细资料
-
HeaderLifeCycle
public HeaderLifeCycle()
-
-
方法详细资料
-
onParameterInitialized
public void onParameterInitialized(ForestMethod method, MappingParameter parameter, Header annotation) 从接口复制的说明:ParameterAnnotationLifeCycle在被注解修饰的方法参数初始化时被调用- 指定者:
onParameterInitialized在接口中ParameterAnnotationLifeCycle<Header,Object> - 参数:
method-ForestMethod对象parameter-MappingParameter对象annotation- 该生命周期类所绑定的注解对象
-