程序包 org.springframework.messaging.handler.invocation
Common infrastructure for invoking message handler methods.
接口概要 接口 说明 AsyncHandlerMethodReturnValueHandler An extension ofHandlerMethodReturnValueHandler
for handling async, Future-like return value types that support success and error callbacks.HandlerMethodArgumentResolver Strategy interface for resolving method parameters into argument values in the context of a givenMessage
.HandlerMethodReturnValueHandler Strategy interface to handle the value returned from the invocation of a method handling aMessage
.类概要 类 说明 AbstractAsyncReturnValueHandler Convenient base class forAsyncHandlerMethodReturnValueHandler
implementations that support only asynchronous (Future-like) return values and merely serve as adapters of such types to Spring'sListenableFuture
.AbstractExceptionHandlerMethodResolver Cache exception handling method mappings and provide options to look up a method that should handle an exception.AbstractMethodMessageHandler<T> Abstract base class for HandlerMethod-based message handling.CompletableFutureReturnValueHandler Support forCompletableFuture
(and as of 4.3.7 alsoCompletionStage
) as a return value type.HandlerMethodArgumentResolverComposite Resolves method parameters by delegating to a list of registeredHandlerMethodArgumentResolvers
.HandlerMethodReturnValueHandlerComposite A HandlerMethodReturnValueHandler that wraps and delegates to others.InvocableHandlerMethod Provides a method for invoking the handler method for a given message after resolving its method argument values through registeredHandlerMethodArgumentResolver
s.ListenableFutureReturnValueHandler Support forListenableFuture
as a return value type.异常错误概要 异常错误 说明 MethodArgumentResolutionException Common exception resulting from the invocation ofHandlerMethodArgumentResolver
.