Uses of Class
org.springframework.messaging.handler.HandlerMethod
Packages that use 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
Methods in org.springframework.messaging.handler that return HandlerMethodModifier 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()
.Constructors in org.springframework.messaging.handler with parameters of type HandlerMethodModifierConstructorDescriptionprotected
HandlerMethod
(HandlerMethod handlerMethod) Copy constructor for use in subclasses. -
Uses of HandlerMethod in org.springframework.messaging.handler.annotation.reactive
Methods in org.springframework.messaging.handler.annotation.reactive with parameters of type HandlerMethodModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>
MessageMappingMessageHandler.handleMatch
(CompositeMessageCondition mapping, HandlerMethod handlerMethod, Message<?> message) -
Uses of HandlerMethod in org.springframework.messaging.handler.invocation
Subclasses of HandlerMethod in org.springframework.messaging.handler.invocationModifier and TypeClassDescriptionclass
Extension ofHandlerMethod
that invokes the underlying method with argument values resolved from the current HTTP request through a list ofHandlerMethodArgumentResolver
.Methods in org.springframework.messaging.handler.invocation that return HandlerMethodModifier 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.Methods in org.springframework.messaging.handler.invocation that return types with arguments of type HandlerMethodModifier and TypeMethodDescriptionAbstractMethodMessageHandler.getHandlerMethods()
Return a map with all handler methods and their mappings.Methods in org.springframework.messaging.handler.invocation with parameters of type HandlerMethodModifier 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) Constructors in org.springframework.messaging.handler.invocation with parameters of type HandlerMethodModifierConstructorDescriptionInvocableHandlerMethod
(HandlerMethod handlerMethod) Create an instance from aHandlerMethod
. -
Uses of HandlerMethod in org.springframework.messaging.handler.invocation.reactive
Subclasses of HandlerMethod in org.springframework.messaging.handler.invocation.reactiveModifier and TypeClassDescriptionclass
Extension ofHandlerMethod
that invokes the underlying method with argument values resolved from the current HTTP request through a list ofHandlerMethodArgumentResolver
.Methods in org.springframework.messaging.handler.invocation.reactive that return types with arguments of type HandlerMethodModifier and TypeMethodDescriptionAbstractMethodMessageHandler.getHandlerMethods()
Return a read-only map with all handler methods and their mappings.Methods in org.springframework.messaging.handler.invocation.reactive with parameters of type HandlerMethodModifier 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) Constructors in org.springframework.messaging.handler.invocation.reactive with parameters of type HandlerMethodModifierConstructorDescriptionInvocableHandlerMethod
(HandlerMethod handlerMethod) Create an instance from aHandlerMethod
. -
Uses of HandlerMethod in org.springframework.messaging.rsocket.annotation.support
Methods in org.springframework.messaging.rsocket.annotation.support with parameters of type HandlerMethodModifier and TypeMethodDescriptionprotected CompositeMessageCondition
RSocketMessageHandler.extendMapping
(CompositeMessageCondition composite, HandlerMethod handler) -
Uses of HandlerMethod in org.springframework.messaging.simp.annotation.support
Methods in org.springframework.messaging.simp.annotation.support with parameters of type HandlerMethodModifier and TypeMethodDescriptionprotected void
SimpAnnotationMethodMessageHandler.handleMatch
(SimpMessageMappingInfo mapping, HandlerMethod handlerMethod, String lookupDestination, Message<?> message)