spring-framework / org.springframework.messaging.handler.invocation

Package org.springframework.messaging.handler.invocation

Types

AbstractMethodMessageHandler

abstract class AbstractMethodMessageHandler<T : Any> : MessageHandler, ApplicationContextAware, InitializingBean

Abstract base class for HandlerMethod-based message handling. Provides most of the logic required to discover handler methods at startup, find a matching handler method at runtime for a given message and invoke it.

Also supports discovering and invoking exception handling methods to process exceptions raised during message handling.

CompletableFutureReturnValueHandler

open class CompletableFutureReturnValueHandler : AbstractAsyncReturnValueHandler

Support for CompletableFuture (and as of 4.3.7 also CompletionStage) as a return value type.

HandlerMethodArgumentResolver

interface HandlerMethodArgumentResolver

Strategy interface for resolving method parameters into argument values in the context of a given Message.

HandlerMethodReturnValueHandlerComposite

open class HandlerMethodReturnValueHandlerComposite : AsyncHandlerMethodReturnValueHandler

A HandlerMethodReturnValueHandler that wraps and delegates to others.

ListenableFutureReturnValueHandler

open class ListenableFutureReturnValueHandler : AbstractAsyncReturnValueHandler

Support for ListenableFuture as a return value type.

Exceptions

MethodArgumentResolutionException

open class MethodArgumentResolutionException : MessagingException

Common exception resulting from the invocation of org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver.