Top Description Fields Constructors Methods
org.springframework.web.bind.annotation

pack-priv Class ControllerMappingReflectiveProcessor

extends Object
implements ReflectiveProcessor
Class Inheritance
All Implemented Interfaces
org.springframework.aot.hint.annotation.ReflectiveProcessor
Known Direct Subclasses
org.springframework.web.bind.annotation.ExceptionHandlerReflectiveProcessor
Imports
java.lang.reflect.AnnotatedElement, .Method, .Parameter, .Type, org.springframework.aot.hint.BindingReflectionHintsRegistrar, .ExecutableMode, .ReflectionHints, org.springframework.aot.hint.annotation.ReflectiveProcessor, org.springframework.core.MethodParameter, org.springframework.core.annotation.AnnotatedElementUtils, org.springframework.http.HttpEntity, org.springframework.lang.Nullable, org.springframework.stereotype.Controller

ReflectiveProcessor implementation for Controller and controller-specific annotated methods. In addition to registering reflection hints for invoking the annotated method, this implementation handles:
Authors
Stephane Nicoll, Sebastien Deleuze
Since
6.0

Field Summary

Modifier and TypeField and Description
private final BindingReflectionHintsRegistrar

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected final BindingReflectionHintsRegistrar
private Type
protected void
protected void
public void
registerReflectionHints(ReflectionHints
the reflection hints instance to use
hints
,
AnnotatedElement
the element to process
element
)

Implements org.springframework.aot.hint.annotation.ReflectiveProcessor.registerReflectionHints.

Register ReflectionHints against the specified AnnotatedElement.

protected void
protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bindingRegistrarback to summary
private final BindingReflectionHintsRegistrar bindingRegistrar

Constructor Detail

ControllerMappingReflectiveProcessorback to summary
pack-priv ControllerMappingReflectiveProcessor()

Method Detail

getBindingRegistrarback to summary
protected final BindingReflectionHintsRegistrar getBindingRegistrar()
getHttpEntityTypeback to summary
private Type getHttpEntityType(MethodParameter parameter)
Annotations
@Nullable
registerMethodHintsback to summary
protected void registerMethodHints(ReflectionHints hints, Method method)
registerParameterTypeHintsback to summary
protected void registerParameterTypeHints(ReflectionHints hints, MethodParameter methodParameter)
registerReflectionHintsback to summary
public void registerReflectionHints(ReflectionHints hints, AnnotatedElement element)

Implements org.springframework.aot.hint.annotation.ReflectiveProcessor.registerReflectionHints.

Doc from org.springframework.aot.hint.annotation.ReflectiveProcessor.registerReflectionHints.

Register ReflectionHints against the specified AnnotatedElement.

Parameters
hints:ReflectionHints

the reflection hints instance to use

element:AnnotatedElement

the element to process

Annotations
@Override
registerReturnTypeHintsback to summary
protected void registerReturnTypeHints(ReflectionHints hints, MethodParameter returnTypeParameter)
registerTypeHintsback to summary
protected void registerTypeHints(ReflectionHints hints, Class<?> type)