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 to resolve method arguments from a named value, e.g.
|
class |
DestinationVariableMethodArgumentResolver
Resolve for
@DestinationVariable method parameters. |
class |
HeaderMethodArgumentResolver
Resolver for
@Header arguments. |
class |
HeadersMethodArgumentResolver
Argument resolver for headers.
|
class |
MessageMethodArgumentResolver
HandlerMethodArgumentResolver for Message method arguments. |
class |
PayloadArgumentResolver
Deprecated.
as of 5.2, in favor of
PayloadMethodArgumentResolver |
class |
PayloadMethodArgumentResolver
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
HandlerMethodArgumentResolvers . |
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 resolver)
Add the given
HandlerMethodArgumentResolver . |
HandlerMethodArgumentResolverComposite |
HandlerMethodArgumentResolverComposite.addResolvers(HandlerMethodArgumentResolver... resolvers)
Add the given
HandlerMethodArgumentResolvers . |
Modifier and Type | Method and Description |
---|---|
HandlerMethodArgumentResolverComposite |
HandlerMethodArgumentResolverComposite.addResolvers(List<? extends HandlerMethodArgumentResolver> resolvers)
Add the given
HandlerMethodArgumentResolvers . |
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
Resolver for arguments of type
Principal , including Optional<Principal> . |
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 |
---|---|
void |
AbstractWebSocketMessageBrokerConfigurer.addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers)
Deprecated.
|
protected void |
DelegatingWebSocketMessageBrokerConfiguration.addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) |
default void |
WebSocketMessageBrokerConfigurer.addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers)
Add resolvers to support custom controller method argument types.
|