| Package | Description |
|---|---|
| org.springframework.messaging.handler |
Basic abstractions for working with message handler methods.
|
| org.springframework.messaging.handler.annotation.reactive |
Support classes for working with annotated message-handling methods with
non-blocking, reactive contracts.
|
| org.springframework.messaging.handler.invocation |
Common infrastructure for invoking message handler methods.
|
| org.springframework.messaging.handler.invocation.reactive |
Common infrastructure for invoking message handler methods with non-blocking,
and reactive contracts.
|
| org.springframework.messaging.rsocket.annotation.support |
Support classes for working with annotated RSocket stream handling 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 | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<Void> |
MessageMappingMessageHandler.handleMatch(CompositeMessageCondition mapping,
HandlerMethod handlerMethod,
Message<?> message) |
| 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(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 |
|---|---|
Map<T,HandlerMethod> |
AbstractMethodMessageHandler.getHandlerMethods()
Return a read-only map with all handler methods and their mappings.
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
AbstractMethodMessageHandler.extendMapping(T mapping,
HandlerMethod handlerMethod)
This method is invoked just before mappings are added.
|
protected reactor.core.publisher.Mono<Void> |
AbstractMethodMessageHandler.handleMatch(T mapping,
HandlerMethod handlerMethod,
Message<?> message) |
| Constructor and Description |
|---|
InvocableHandlerMethod(HandlerMethod handlerMethod)
Create an instance from a
HandlerMethod. |
| Modifier and Type | Method and Description |
|---|---|
protected CompositeMessageCondition |
RSocketMessageHandler.extendMapping(CompositeMessageCondition composite,
HandlerMethod handler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SimpAnnotationMethodMessageHandler.handleMatch(SimpMessageMappingInfo mapping,
HandlerMethod handlerMethod,
String lookupDestination,
Message<?> message) |