abstract class AbstractNamedValueMethodArgumentResolver : HandlerMethodArgumentResolver
Abstract base class for resolving method arguments from a named value. Message headers, and path variables are examples of named values. Each may have a name, a required flag, and a default value. Subclasses define how to do the following:
A default value string can contain ${...} placeholders and Spring Expression Language A ConversionService may be used to apply type conversion to the resolved argument value if it doesn't match the method parameter type. |
|
open class AnnotationExceptionHandlerMethodResolver : AbstractExceptionHandlerMethodResolver
A sub-class of AbstractExceptionHandlerMethodResolver that looks for MessageExceptionHandler-annotated methods in a given class. The actual exception types handled are extracted either from the annotation, if present, or from the method signature as a fallback option. |
|
open class DestinationVariableMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver
Resolves method parameters annotated with org.springframework.messaging.handler.annotation.DestinationVariable. |
|
open class HeaderMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver
Resolves method parameters annotated with Header. |
|
open class HeadersMethodArgumentResolver : HandlerMethodArgumentResolver
Resolves the following method parameters:
|
|
open class MessageMethodArgumentResolver : HandlerMethodArgumentResolver
|
|
open class PayloadArgumentResolver : HandlerMethodArgumentResolver
A resolver to extract and convert the payload of a message using a MessageConverter. It also validates the payload using a Validator if the argument is annotated with a Validation annotation. This HandlerMethodArgumentResolver should be ordered last as it supports all types and does not require the Payload annotation. |
open class MethodArgumentNotValidException : MethodArgumentResolutionException
Exception to be thrown when a method argument fails validation perhaps as a result of |
|
open class MethodArgumentTypeMismatchException : MethodArgumentResolutionException
Exception that indicates that a method argument has not the expected type. |