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

pack-priv Class HttpExchangeReflectiveProcessor

extends Object
implements ReflectiveProcessor
Class Inheritance
All Implemented Interfaces
org.springframework.aot.hint.annotation.ReflectiveProcessor
Imports
java.lang.reflect.AnnotatedElement, .Method, .Parameter, org.springframework.aot.hint.BindingReflectionHintsRegistrar, .ExecutableMode, .ReflectionHints, org.springframework.aot.hint.annotation.ReflectiveProcessor, org.springframework.core.MethodParameter, org.springframework.web.bind.annotation.RequestBody

ReflectiveProcessor implementation for @HttpExchange annotated methods. In addition to registering reflection hints for invoking the annotated method, this implementation handles reflection-based binding for return types and parameters annotated with RequestBody.
Author
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 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
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bindingRegistrarback to summary
private final BindingReflectionHintsRegistrar bindingRegistrar

Constructor Detail

HttpExchangeReflectiveProcessorback to summary
pack-priv HttpExchangeReflectiveProcessor()

Method Detail

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)