Uses of Interface
org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver
Package
Description
Support classes for working with annotated message-handling methods.
Common infrastructure for invoking message handler methods.
Support classes for handling messages from simple messaging protocols
(like STOMP).
Configuration support for WebSocket messaging using higher level messaging protocols.
Support for annotation-based WebSocket setup in configuration classes.
-
Uses of HandlerMethodArgumentResolver in org.springframework.messaging.handler.annotation.support
Modifier and TypeClassDescriptionclass
Abstract base class to resolve method arguments from a named value, e.g.class
Resolve for@DestinationVariable
method parameters.class
Resolver for@Header
arguments.class
Argument resolver for headers.class
HandlerMethodArgumentResolver
forMessage
method arguments.class
A resolver to extract and convert the payload of a message using aMessageConverter
.Modifier and TypeMethodDescriptionprotected List<HandlerMethodArgumentResolver>
DefaultMessageHandlerMethodFactory.initArgumentResolvers()
Modifier and TypeMethodDescriptionvoid
DefaultMessageHandlerMethodFactory.setArgumentResolvers
(List<HandlerMethodArgumentResolver> argumentResolvers) Configure the complete list of supported argument types effectively overriding the ones configured by default.void
DefaultMessageHandlerMethodFactory.setCustomArgumentResolvers
(List<HandlerMethodArgumentResolver> customArgumentResolvers) Set the list of customHandlerMethodArgumentResolver
s that will be used after resolvers for supported argument type. -
Uses of HandlerMethodArgumentResolver in org.springframework.messaging.handler.invocation
Modifier and TypeClassDescriptionclass
Resolves method parameters by delegating to a list of registeredHandlerMethodArgumentResolvers
.Modifier and TypeMethodDescriptionAbstractMethodMessageHandler.getArgumentResolvers()
Return the complete list of argument resolvers.AbstractMethodMessageHandler.getCustomArgumentResolvers()
Return the configured custom argument resolvers, if any.HandlerMethodArgumentResolverComposite.getResolvers()
Return a read-only list with the contained resolvers, or an empty list.protected abstract List<? extends HandlerMethodArgumentResolver>
AbstractMethodMessageHandler.initArgumentResolvers()
Return the list of argument resolvers to use.Modifier and TypeMethodDescriptionHandlerMethodArgumentResolverComposite.addResolver
(HandlerMethodArgumentResolver resolver) Add the givenHandlerMethodArgumentResolver
.HandlerMethodArgumentResolverComposite.addResolvers
(HandlerMethodArgumentResolver... resolvers) Add the givenHandlerMethodArgumentResolvers
.Modifier and TypeMethodDescriptionHandlerMethodArgumentResolverComposite.addResolvers
(List<? extends HandlerMethodArgumentResolver> resolvers) Add the givenHandlerMethodArgumentResolvers
.void
AbstractMethodMessageHandler.setArgumentResolvers
(List<HandlerMethodArgumentResolver> argumentResolvers) Configure the complete list of supported argument types, effectively overriding the ones configured by default.void
AbstractMethodMessageHandler.setCustomArgumentResolvers
(List<HandlerMethodArgumentResolver> customArgumentResolvers) Sets the list of customHandlerMethodArgumentResolver
s that will be used after resolvers for supported argument type. -
Uses of HandlerMethodArgumentResolver in org.springframework.messaging.simp.annotation.support
Modifier and TypeClassDescriptionclass
Resolver for arguments of typePrincipal
, includingOptional<Principal>
.Modifier and TypeMethodDescriptionprotected List<HandlerMethodArgumentResolver>
SimpAnnotationMethodMessageHandler.initArgumentResolvers()
-
Uses of HandlerMethodArgumentResolver in org.springframework.messaging.simp.config
Modifier and TypeMethodDescriptionprotected void
AbstractMessageBrokerConfiguration.addArgumentResolvers
(List<HandlerMethodArgumentResolver> argumentResolvers) -
Uses of HandlerMethodArgumentResolver in org.springframework.web.socket.config.annotation
Modifier and TypeMethodDescriptionprotected void
DelegatingWebSocketMessageBrokerConfiguration.addArgumentResolvers
(List<HandlerMethodArgumentResolver> argumentResolvers) default void
WebSocketMessageBrokerConfigurer.addArgumentResolvers
(List<HandlerMethodArgumentResolver> argumentResolvers) Add resolvers to support custom controller method argument types.