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
Resolves the following method parameters:
Parameters assignable to
Map annotated with @Headers
Parameters of type MessageHeaders
Parameters assignable to MessageHeaderAccessor
|
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 List<HandlerMethodArgumentResolver> |
DefaultMessageHandlerMethodFactory.initArgumentResolvers() |
Modifier and Type | Method and Description |
---|---|
void |
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 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 |
---|---|
List<HandlerMethodArgumentResolver> |
AbstractMethodMessageHandler.getArgumentResolvers()
Return the complete list of argument resolvers.
|
List<HandlerMethodArgumentResolver> |
AbstractMethodMessageHandler.getCustomArgumentResolvers()
Return the configured custom argument resolvers, if any.
|
List<HandlerMethodArgumentResolver> |
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 Type | Method and Description |
---|---|
HandlerMethodArgumentResolverComposite |
HandlerMethodArgumentResolverComposite.addResolver(HandlerMethodArgumentResolver argumentResolver)
Add the given
HandlerMethodArgumentResolver . |
HandlerMethodArgumentResolverComposite |
HandlerMethodArgumentResolverComposite.addResolvers(HandlerMethodArgumentResolver... resolvers)
Add the given
HandlerMethodArgumentResolver s. |
Modifier and Type | Method and Description |
---|---|
HandlerMethodArgumentResolverComposite |
HandlerMethodArgumentResolverComposite.addResolvers(List<? extends HandlerMethodArgumentResolver> argumentResolvers)
Add the given
HandlerMethodArgumentResolver s. |
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 custom
HandlerMethodArgumentResolver s that will be used
after resolvers for supported argument type. |
Modifier and Type | Class and Description |
---|---|
class |
PrincipalMethodArgumentResolver |
Modifier and Type | Method and Description |
---|---|
protected List<HandlerMethodArgumentResolver> |
SimpAnnotationMethodMessageHandler.initArgumentResolvers() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMessageBrokerConfiguration.addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) |
Modifier and Type | Method and Description |
---|---|
protected void |
DelegatingWebSocketMessageBrokerConfiguration.addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) |
void |
AbstractWebSocketMessageBrokerConfigurer.addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers)
Deprecated.
|
default void |
WebSocketMessageBrokerConfigurer.addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers)
Add resolvers to support custom controller method argument types.
|