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
Extension of
HandlerMethod that invokes the underlying method with
argument values resolved from the current HTTP request through a list of
HandlerMethodArgumentResolver . |
Modifier and Type | Method and Description |
---|---|
protected HandlerMethod |
AbstractMethodMessageHandler.createHandlerMethod(java.lang.Object handler,
java.lang.reflect.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 |
---|---|
java.util.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,
java.lang.Exception exception)
Find an
@MessageExceptionHandler method for the given exception. |
protected void |
AbstractMethodMessageHandler.handleMatch(T mapping,
HandlerMethod handlerMethod,
java.lang.String lookupDestination,
Message<?> message) |
protected void |
AbstractMethodMessageHandler.processHandlerMethodException(HandlerMethod handlerMethod,
java.lang.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,
java.lang.String lookupDestination,
Message<?> message) |