Package | Description |
---|---|
org.springframework.messaging.handler.annotation.support |
Support classes for working with annotated message-handling methods.
|
org.springframework.messaging.handler.invocation |
Common infrastructure for invoking message handler methods.
|
org.springframework.messaging.simp.annotation.support |
Support classes for handling messages from simple messaging protocols
(like STOMP).
|
org.springframework.messaging.simp.config |
Configuration support for WebSocket messaging using higher level messaging protocols.
|
org.springframework.web.socket.config.annotation |
Support for annotation-based WebSocket setup in configuration classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNamedValueMethodArgumentResolver
Abstract base class for resolving method arguments from a named value.
|
class |
DestinationVariableMethodArgumentResolver
Resolves method parameters annotated with
@DestinationVariable . |
class |
HeaderMethodArgumentResolver
Resolves method parameters annotated with
@Header . |
class |
HeadersMethodArgumentResolver
HandlerMethodArgumentResolver for header method parameters. |
class |
MessageMethodArgumentResolver
HandlerMethodArgumentResolver for Message method arguments. |
class |
PayloadArgumentResolver
A resolver to extract and convert the payload of a message using a
MessageConverter . |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<HandlerMethodArgumentResolver> |
DefaultMessageHandlerMethodFactory.initArgumentResolvers() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMessageHandlerMethodFactory.setArgumentResolvers(java.util.List<HandlerMethodArgumentResolver> argumentResolvers)
Configure the complete list of supported argument types effectively overriding
the ones configured by default.
|
void |
DefaultMessageHandlerMethodFactory.setCustomArgumentResolvers(java.util.List<HandlerMethodArgumentResolver> customArgumentResolvers)
Set the list of custom
HandlerMethodArgumentResolver s that will be used
after resolvers for supported argument type. |
Modifier and Type | Class and Description |
---|---|
class |
HandlerMethodArgumentResolverComposite
Resolves method parameters by delegating to a list of registered
HandlerMethodArgumentResolver . |
Modifier and Type | Method and Description |
---|---|
java.util.List<HandlerMethodArgumentResolver> |
AbstractMethodMessageHandler.getArgumentResolvers()
Return the complete list of argument resolvers.
|
java.util.List<HandlerMethodArgumentResolver> |
AbstractMethodMessageHandler.getCustomArgumentResolvers()
Return the configured custom argument resolvers, if any.
|
java.util.List<HandlerMethodArgumentResolver> |
HandlerMethodArgumentResolverComposite.getResolvers()
Return a read-only list with the contained resolvers, or an empty list.
|
protected abstract java.util.List<? extends HandlerMethodArgumentResolver> |
AbstractMethodMessageHandler.initArgumentResolvers()
Return the list of argument resolvers to use.
|
Modifier and Type | Method and Description |
---|---|
HandlerMethodArgumentResolverComposite |
HandlerMethodArgumentResolverComposite.addResolver(HandlerMethodArgumentResolver argumentResolver)
Add the given
HandlerMethodArgumentResolver . |
HandlerMethodArgumentResolverComposite |
HandlerMethodArgumentResolverComposite.addResolvers(HandlerMethodArgumentResolver... resolvers)
Add the given
HandlerMethodArgumentResolvers . |
Modifier and Type | Method and Description |
---|---|
HandlerMethodArgumentResolverComposite |
HandlerMethodArgumentResolverComposite.addResolvers(java.util.List<? extends HandlerMethodArgumentResolver> argumentResolvers)
Add the given
HandlerMethodArgumentResolvers . |
void |
AbstractMethodMessageHandler.setArgumentResolvers(java.util.List<HandlerMethodArgumentResolver> argumentResolvers)
Configure the complete list of supported argument types, effectively overriding
the ones configured by default.
|
void |
AbstractMethodMessageHandler.setCustomArgumentResolvers(java.util.List<HandlerMethodArgumentResolver> customArgumentResolvers)
Sets the list of custom
HandlerMethodArgumentResolver s that will be used
after resolvers for supported argument type. |
Modifier and Type | Class and Description |
---|---|
class |
PrincipalMethodArgumentResolver
HandlerMethodArgumentResolver to a Principal . |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<HandlerMethodArgumentResolver> |
SimpAnnotationMethodMessageHandler.initArgumentResolvers() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMessageBrokerConfiguration.addArgumentResolvers(java.util.List<HandlerMethodArgumentResolver> argumentResolvers) |
Modifier and Type | Method and Description |
---|---|
protected void |
DelegatingWebSocketMessageBrokerConfiguration.addArgumentResolvers(java.util.List<HandlerMethodArgumentResolver> argumentResolvers) |
void |
AbstractWebSocketMessageBrokerConfigurer.addArgumentResolvers(java.util.List<HandlerMethodArgumentResolver> argumentResolvers)
Deprecated.
|
default void |
WebSocketMessageBrokerConfigurer.addArgumentResolvers(java.util.List<HandlerMethodArgumentResolver> argumentResolvers)
Add resolvers to support custom controller method argument types.
|