类的使用
com.dtflys.forest.mapping.MappingParameter
使用MappingParameter的程序包
程序包
说明
-
com.dtflys.forest.lifecycles中MappingParameter的使用
修饰符和类型方法说明voidParameterAnnotationLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, A annotation) 在被注解修饰的方法参数初始化时被调用 -
com.dtflys.forest.lifecycles.parameter中MappingParameter的使用
修饰符和类型方法说明voidAbstractBodyLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, A annotation) voidBinaryBodyLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, BinaryBody annotation) voidDataFileLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, DataFile annotation) voidDataObjectLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, DataObject annotation) voidDataParamLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, DataParam annotation) voidFormBodyLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, FormBody annotation) voidHeaderLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, Header annotation) voidJSONBodyLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, JSONBody annotation) voidJSONQueryLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, JSONQuery annotation) voidProtobufBodyLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, ProtobufBody annotation) voidQueryLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, Query annotation) voidReturnLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, Return annotation) voidURLEncodeLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, URLEncode annotation) voidVariableLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, Annotation annotation) voidXMLBodyLifeCycle.onParameterInitialized(ForestMethod method, MappingParameter parameter, XMLBody annotation) -
com.dtflys.forest.mapping中MappingParameter的使用
参数类型为MappingParameter的com.dtflys.forest.mapping中的构造器限定符构造器说明MappingTemplate(Class<? extends Annotation> annotationType, String attributeName, ForestMethod<?> forestMethod, String template, VariableScope variableScope, ForestProperties properties, MappingParameter[] parameters) MappingURLTemplate(Class<? extends Annotation> annotationType, String attributeName, ForestMethod<?> forestMethod, String template, VariableScope variableScope, ForestProperties properties, MappingParameter[] parameters) -
com.dtflys.forest.reflection中MappingParameter的使用
修饰符和类型方法说明voidForestMethod.addNamedParameter(MappingParameter parameter) 添加命名参数ForestMethod.makeTemplate(MappingParameter parameter) voidForestMethod.processParameterFilter(MappingParameter parameter, String filterName) 处理参数的过滤器voidForestMethod.setReturnTypeParameter(MappingParameter returnTypeParameter) 设置指定方法返回值类型的参数