类 AbstractBodyLifeCycle<A extends Annotation>
java.lang.Object
com.dtflys.forest.lifecycles.parameter.AbstractBodyLifeCycle<A>
- 类型参数:
A- 参数注解类型
- 所有已实现的接口:
OnCanceled,OnError,OnLoadCookie,OnProgress,OnRedirection,OnRetry,OnSaveCookie,OnSuccess<Object>,Interceptor<Object>,ParameterAnnotationLifeCycle<A,Object>
- 直接已知子类:
BinaryBodyLifeCycle,BodyLifeCycle,FormBodyLifeCycle,JSONBodyLifeCycle,ProtobufBodyLifeCycle,XMLBodyLifeCycle
public abstract class AbstractBodyLifeCycle<A extends Annotation>
extends Object
implements ParameterAnnotationLifeCycle<A,Object>
抽象请求体生命周期处理类
- 从以下版本开始:
- 1.5.0-BETA9
- 作者:
- gongjun[dt_flys@hotmail.com]
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonParameterInitialized(ForestMethod method, MappingParameter parameter, A 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
-
构造器详细资料
-
AbstractBodyLifeCycle
public AbstractBodyLifeCycle()
-
-
方法详细资料
-
onParameterInitialized
从接口复制的说明:ParameterAnnotationLifeCycle在被注解修饰的方法参数初始化时被调用- 指定者:
onParameterInitialized在接口中ParameterAnnotationLifeCycle<A extends Annotation,Object> - 参数:
method-ForestMethod对象parameter-MappingParameter对象annotation- 该生命周期类所绑定的注解对象
-