Uses of Class
org.springframework.messaging.handler.HandlerMethod
Package
Description
Basic abstractions for working with message handler methods.
Support classes for working with annotated message-handling methods with
non-blocking, reactive contracts.
Common infrastructure for invoking message handler methods.
Common infrastructure for invoking message handler methods with non-blocking,
and reactive contracts.
Support classes for working with annotated RSocket stream handling methods.
Support classes for handling messages from simple messaging protocols
(like STOMP).
-
Uses of HandlerMethod in org.springframework.messaging.handler
Modifier and TypeMethodDescriptionHandlerMethod.createWithResolvedBean()
If the provided instance contains a bean name rather than an object instance, the bean name is resolved before aHandlerMethod
is created and returned.HandlerMethod.getResolvedFromHandlerMethod()
Return the HandlerMethod from which this HandlerMethod instance was resolved viacreateWithResolvedBean()
.ModifierConstructorDescriptionprotected
HandlerMethod
(HandlerMethod handlerMethod) Copy constructor for use in subclasses. -
Uses of HandlerMethod in org.springframework.messaging.handler.annotation.reactive
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>
MessageMappingMessageHandler.handleMatch
(CompositeMessageCondition mapping, HandlerMethod handlerMethod, Message<?> message) -
Uses of HandlerMethod in org.springframework.messaging.handler.invocation
Modifier and TypeClassDescriptionclass
Extension ofHandlerMethod
that invokes the underlying method with argument values resolved from the current HTTP request through a list ofHandlerMethodArgumentResolver
.Modifier and TypeMethodDescriptionprotected 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 TypeMethodDescriptionAbstractMethodMessageHandler.getHandlerMethods()
Return a map with all handler methods and their mappings.Modifier and TypeMethodDescriptionprotected 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) ModifierConstructorDescriptionInvocableHandlerMethod
(HandlerMethod handlerMethod) Create an instance from aHandlerMethod
. -
Uses of HandlerMethod in org.springframework.messaging.handler.invocation.reactive
Modifier and TypeClassDescriptionclass
Extension ofHandlerMethod
that invokes the underlying method with argument values resolved from the current HTTP request through a list ofHandlerMethodArgumentResolver
.Modifier and TypeMethodDescriptionAbstractMethodMessageHandler.getHandlerMethods()
Return a read-only map with all handler methods and their mappings.Modifier and TypeMethodDescriptionprotected 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) ModifierConstructorDescriptionInvocableHandlerMethod
(HandlerMethod handlerMethod) Create an instance from aHandlerMethod
. -
Uses of HandlerMethod in org.springframework.messaging.rsocket.annotation.support
Modifier and TypeMethodDescriptionprotected CompositeMessageCondition
RSocketMessageHandler.extendMapping
(CompositeMessageCondition composite, HandlerMethod handler) -
Uses of HandlerMethod in org.springframework.messaging.simp.annotation.support
Modifier and TypeMethodDescriptionprotected void
SimpAnnotationMethodMessageHandler.handleMatch
(SimpMessageMappingInfo mapping, HandlerMethod handlerMethod, String lookupDestination, Message<?> message)