Package | Description |
---|---|
org.springframework.messaging.handler |
Basic abstractions for working with message handler 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).
|
Modifier and Type | Method and Description |
---|---|
HandlerMethod |
HandlerMethod.createWithResolvedBean()
If the provided instance contains a bean name rather than an object instance,
the bean name is resolved before a
HandlerMethod is created and returned. |
HandlerMethod |
HandlerMethod.getResolvedFromHandlerMethod()
Return the HandlerMethod from which this HandlerMethod instance was
resolved via
createWithResolvedBean() . |
Constructor and Description |
---|
HandlerMethod(HandlerMethod handlerMethod)
Copy constructor for use in subclasses.
|
Modifier and Type | Class and Description |
---|---|
class |
InvocableHandlerMethod
Provides a method for invoking the handler method for a given message after resolving its
method argument values through registered
HandlerMethodArgumentResolver s. |
Modifier and Type | Method and Description |
---|---|
protected HandlerMethod |
AbstractMethodMessageHandler.createHandlerMethod(Object handler,
Method method)
Create a HandlerMethod instance from an Object handler that is either a handler
instance or a String-based bean name.
|
Modifier and Type | Method and Description |
---|---|
Map<T,HandlerMethod> |
AbstractMethodMessageHandler.getHandlerMethods()
Return a map with all handler methods and their mappings.
|
Modifier and Type | Method and Description |
---|---|
protected InvocableHandlerMethod |
AbstractMethodMessageHandler.getExceptionHandlerMethod(HandlerMethod handlerMethod,
Exception exception)
Find an
@MessageExceptionHandler method for the given exception. |
protected void |
AbstractMethodMessageHandler.handleMatch(T mapping,
HandlerMethod handlerMethod,
String lookupDestination,
Message<?> message) |
protected void |
AbstractMethodMessageHandler.processHandlerMethodException(HandlerMethod handlerMethod,
Exception exception,
Message<?> message) |
Constructor and Description |
---|
InvocableHandlerMethod(HandlerMethod handlerMethod)
Create an instance from a
HandlerMethod . |
Modifier and Type | Method and Description |
---|---|
protected void |
SimpAnnotationMethodMessageHandler.handleMatch(SimpMessageMappingInfo mapping,
HandlerMethod handlerMethod,
String lookupDestination,
Message<?> message) |