Uses of Interface
org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler
Packages that use HandlerMethodReturnValueHandler Package Description org.springframework.messaging.handler.invocation Common infrastructure for invoking message handler methods.org.springframework.messaging.simp.annotation.support Support classes for handling messages from simple messaging protocols (like STOMP).org.springframework.messaging.simp.config Configuration support for WebSocket messaging using higher level messaging protocols.org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.Uses of HandlerMethodReturnValueHandler in org.springframework.messaging.handler.invocation
Subinterfaces of HandlerMethodReturnValueHandler in org.springframework.messaging.handler.invocation Modifier and Type Interface Description interface
AsyncHandlerMethodReturnValueHandler
An extension ofHandlerMethodReturnValueHandler
for handling async, Future-like return value types that support success and error callbacks.Classes in org.springframework.messaging.handler.invocation that implement HandlerMethodReturnValueHandler Modifier and Type Class Description class
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
.class
CompletableFutureReturnValueHandler
Support forCompletableFuture
(and as of 4.3.7 alsoCompletionStage
) as a return value type.class
HandlerMethodReturnValueHandlerComposite
A HandlerMethodReturnValueHandler that wraps and delegates to others.class
ListenableFutureReturnValueHandler
Support forListenableFuture
as a return value type.class
ReactiveReturnValueHandler
Support for single-value reactive types (likeMono
orSingle
) as a return value type.Methods in org.springframework.messaging.handler.invocation that return types with arguments of type HandlerMethodReturnValueHandler Modifier and Type Method Description List<HandlerMethodReturnValueHandler>
AbstractMethodMessageHandler. getCustomReturnValueHandlers()
Return the configured custom return value handlers, if any.List<HandlerMethodReturnValueHandler>
AbstractMethodMessageHandler. getReturnValueHandlers()
Return the complete list of return value handlers.List<HandlerMethodReturnValueHandler>
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.Methods in org.springframework.messaging.handler.invocation with parameters of type HandlerMethodReturnValueHandler Modifier and Type Method Description HandlerMethodReturnValueHandlerComposite
HandlerMethodReturnValueHandlerComposite. addHandler(HandlerMethodReturnValueHandler returnValueHandler)
Add the givenHandlerMethodReturnValueHandler
.Method parameters in org.springframework.messaging.handler.invocation with type arguments of type HandlerMethodReturnValueHandler Modifier and Type Method Description HandlerMethodReturnValueHandlerComposite
HandlerMethodReturnValueHandlerComposite. 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
Classes in org.springframework.messaging.simp.annotation.support that implement HandlerMethodReturnValueHandler Modifier and Type Class Description class
SendToMethodReturnValueHandler
AHandlerMethodReturnValueHandler
for sending to destinations specified in aSendTo
orSendToUser
method-level annotations.class
SubscriptionMethodReturnValueHandler
HandlerMethodReturnValueHandler
for replying directly to a subscription.Methods in org.springframework.messaging.simp.annotation.support that return types with arguments of type HandlerMethodReturnValueHandler Modifier and Type Method Description protected List<? extends HandlerMethodReturnValueHandler>
SimpAnnotationMethodMessageHandler. initReturnValueHandlers()
Uses of HandlerMethodReturnValueHandler in org.springframework.messaging.simp.config
Method parameters in org.springframework.messaging.simp.config with type arguments of type HandlerMethodReturnValueHandler Modifier and Type Method Description protected void
AbstractMessageBrokerConfiguration. addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers)
Uses of HandlerMethodReturnValueHandler in org.springframework.web.socket.config.annotation
Method parameters in org.springframework.web.socket.config.annotation with type arguments of type HandlerMethodReturnValueHandler Modifier and Type Method Description void
AbstractWebSocketMessageBrokerConfigurer. addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers)
Deprecated.protected void
DelegatingWebSocketMessageBrokerConfiguration. addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers)
default void
WebSocketMessageBrokerConfigurer. addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers)
Add handlers to support custom controller method return value types.