Uses of Interface
org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler
Packages that use 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.
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.invocationModifier and TypeInterfaceDescriptioninterfaceAn extension ofHandlerMethodReturnValueHandlerfor handling async, Future-like return value types that support success and error callbacks.Classes in org.springframework.messaging.handler.invocation that implement HandlerMethodReturnValueHandlerModifier and TypeClassDescriptionclassConvenient base class forAsyncHandlerMethodReturnValueHandlerimplementations that support only asynchronous (Future-like) return values and merely serve as adapters of such types to Spring'sListenableFuture.classSupport forCompletableFuture(and as of 4.3.7 alsoCompletionStage) as a return value type.classA HandlerMethodReturnValueHandler that wraps and delegates to others.classSupport forListenableFutureas a return value type.classSupport for single-value reactive types (likeMonoorSingle) as a return value type.Methods in org.springframework.messaging.handler.invocation that return types with arguments of type HandlerMethodReturnValueHandlerModifier 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.Methods in org.springframework.messaging.handler.invocation with parameters of type HandlerMethodReturnValueHandlerModifier and TypeMethodDescriptionHandlerMethodReturnValueHandlerComposite.addHandler(HandlerMethodReturnValueHandler returnValueHandler) Add the givenHandlerMethodReturnValueHandler.Method parameters in org.springframework.messaging.handler.invocation with type arguments of type HandlerMethodReturnValueHandlerModifier and TypeMethodDescriptionHandlerMethodReturnValueHandlerComposite.addHandlers(List<? extends HandlerMethodReturnValueHandler> handlers) Add the givenHandlerMethodReturnValueHandlers.voidAbstractMethodMessageHandler.setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler> customReturnValueHandlers) Set the list of customHandlerMethodReturnValueHandlers that will be used after return value handlers for known types.voidAbstractMethodMessageHandler.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 HandlerMethodReturnValueHandlerModifier and TypeClassDescriptionclassAHandlerMethodReturnValueHandlerfor sending to destinations specified in aSendToorSendToUsermethod-level annotations.classHandlerMethodReturnValueHandlerfor replying directly to a subscription.Methods in org.springframework.messaging.simp.annotation.support that return types with arguments of type HandlerMethodReturnValueHandlerModifier and TypeMethodDescriptionprotected 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 HandlerMethodReturnValueHandlerModifier and TypeMethodDescriptionprotected voidAbstractMessageBrokerConfiguration.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 HandlerMethodReturnValueHandlerModifier and TypeMethodDescriptionprotected voidDelegatingWebSocketMessageBrokerConfiguration.addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) default voidWebSocketMessageBrokerConfigurer.addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) Add handlers to support custom controller method return value types.