程序包 org.springframework.messaging.handler.invocation
Common infrastructure for invoking message handler methods.
接口概要 接口 说明 AsyncHandlerMethodReturnValueHandler An extension ofHandlerMethodReturnValueHandlerfor 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 forAsyncHandlerMethodReturnValueHandlerimplementations 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 Extension ofHandlerMethodthat invokes the underlying method with argument values resolved from the current HTTP request through a list ofHandlerMethodArgumentResolver.ListenableFutureReturnValueHandler Support forListenableFutureas a return value type.ReactiveReturnValueHandler Support for single-value reactive types (likeMonoorSingle) as a return value type.异常错误概要 异常错误 说明 MethodArgumentResolutionException Common exception resulting from the invocation ofHandlerMethodArgumentResolver.