Uses of Interface
org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler
Package
Description
Common infrastructure for invoking message handler methods.
Support classes for handling messages from simple messaging protocols
(like STOMP).
Configuration support for WebSocket messaging using higher level messaging protocols.
-
Uses of HandlerMethodReturnValueHandler in org.springframework.messaging.handler.invocation
Modifier and TypeInterfaceDescriptioninterface
An extension ofHandlerMethodReturnValueHandler
for handling async, Future-like return value types that support success and error callbacks.Modifier and TypeClassDescriptionclass
Convenient base class forAsyncHandlerMethodReturnValueHandler
implementations that support only asynchronous (Future-like) return values and merely serve as adapters of such types to Spring'sListenableFuture
.class
Support forCompletableFuture
(and as of 4.3.7 alsoCompletionStage
) as a return value type.class
A HandlerMethodReturnValueHandler that wraps and delegates to others.class
Deprecated.class
Support for single-value reactive types (likeMono
orSingle
) as a return value type.Modifier and TypeMethodDescriptionAbstractMethodMessageHandler.getCustomReturnValueHandlers()
Return the configured custom return value handlers, if any.AbstractMethodMessageHandler.getReturnValueHandlers()
Return the complete list of return value handlers.HandlerMethodReturnValueHandlerComposite.getReturnValueHandlers()
Return a read-only list with the configured handlers.protected abstract List<? extends HandlerMethodReturnValueHandler>
AbstractMethodMessageHandler.initReturnValueHandlers()
Return the list of return value handlers to use.Modifier and TypeMethodDescriptionHandlerMethodReturnValueHandlerComposite.addHandler
(HandlerMethodReturnValueHandler returnValueHandler) Add the givenHandlerMethodReturnValueHandler
.Modifier and TypeMethodDescriptionHandlerMethodReturnValueHandlerComposite.addHandlers
(List<? extends HandlerMethodReturnValueHandler> handlers) Add the givenHandlerMethodReturnValueHandlers
.void
AbstractMethodMessageHandler.setCustomReturnValueHandlers
(List<HandlerMethodReturnValueHandler> customReturnValueHandlers) Set the list of customHandlerMethodReturnValueHandler
s that will be used after return value handlers for known types.void
AbstractMethodMessageHandler.setReturnValueHandlers
(List<HandlerMethodReturnValueHandler> returnValueHandlers) Configure the complete list of supported return value types, effectively overriding the ones configured by default. -
Uses of HandlerMethodReturnValueHandler in org.springframework.messaging.simp.annotation.support
Modifier and TypeClassDescriptionclass
AHandlerMethodReturnValueHandler
for sending to destinations specified in aSendTo
orSendToUser
method-level annotations.class
HandlerMethodReturnValueHandler
for replying directly to a subscription.Modifier and TypeMethodDescriptionprotected List<? extends HandlerMethodReturnValueHandler>
SimpAnnotationMethodMessageHandler.initReturnValueHandlers()
-
Uses of HandlerMethodReturnValueHandler in org.springframework.messaging.simp.config
Modifier and TypeMethodDescriptionprotected void
AbstractMessageBrokerConfiguration.addReturnValueHandlers
(List<HandlerMethodReturnValueHandler> returnValueHandlers)
CompletableFutureReturnValueHandler