类 ControllerMappingReflectiveProcessor
java.lang.Object
cn.taketoday.web.annotation.ControllerMappingReflectiveProcessor
- 所有已实现的接口:
cn.taketoday.aot.hint.annotation.ReflectiveProcessor
class ControllerMappingReflectiveProcessor
extends Object
implements cn.taketoday.aot.hint.annotation.ReflectiveProcessor
ReflectiveProcessor implementation for Controller and
controller-specific annotated methods. In addition to registering reflection
hints for invoking the annotated method, this implementation handles:
- Return types annotated with
ResponseBody - Parameters annotated with
RequestBody,ModelAttributeandRequestPart HttpEntityreturn types and parameters
- 从以下版本开始:
- 4.0
- 作者:
- Stephane Nicoll, Sebastien Deleuze, Harry Yang
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected final cn.taketoday.aot.hint.BindingReflectionHintsRegistrarprivate TypegetHttpEntityType(cn.taketoday.core.MethodParameter parameter) protected voidregisterMethodHints(cn.taketoday.aot.hint.ReflectionHints hints, Method method) protected voidregisterParameterTypeHints(cn.taketoday.aot.hint.ReflectionHints hints, cn.taketoday.core.MethodParameter methodParameter) voidregisterReflectionHints(cn.taketoday.aot.hint.ReflectionHints hints, AnnotatedElement element) protected voidregisterReturnTypeHints(cn.taketoday.aot.hint.ReflectionHints hints, cn.taketoday.core.MethodParameter returnTypeParameter) protected voidregisterTypeHints(cn.taketoday.aot.hint.ReflectionHints hints, Class<?> type)
-
字段详细资料
-
bindingRegistrar
private final cn.taketoday.aot.hint.BindingReflectionHintsRegistrar bindingRegistrar
-
-
构造器详细资料
-
ControllerMappingReflectiveProcessor
ControllerMappingReflectiveProcessor()
-
-
方法详细资料
-
registerReflectionHints
public void registerReflectionHints(cn.taketoday.aot.hint.ReflectionHints hints, AnnotatedElement element) - 指定者:
registerReflectionHints在接口中cn.taketoday.aot.hint.annotation.ReflectiveProcessor
-
getBindingRegistrar
protected final cn.taketoday.aot.hint.BindingReflectionHintsRegistrar getBindingRegistrar() -
registerTypeHints
-
registerMethodHints
-
registerParameterTypeHints
protected void registerParameterTypeHints(cn.taketoday.aot.hint.ReflectionHints hints, cn.taketoday.core.MethodParameter methodParameter) -
registerReturnTypeHints
protected void registerReturnTypeHints(cn.taketoday.aot.hint.ReflectionHints hints, cn.taketoday.core.MethodParameter returnTypeParameter) -
getHttpEntityType
-