## 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 and Description
    --- | ---
    `interface` | `AsyncHandlerMethodReturnValueHandler` An extension of `HandlerMethodReturnValueHandler` 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 and Description
    --- | ---
    `class` | `AbstractAsyncReturnValueHandler` Convenient base class for `AsyncHandlerMethodReturnValueHandler` implementations that support only asynchronous (Future-like) return values and merely serve as adapters of such types to Spring's `ListenableFuture`.
    `class` | `CompletableFutureReturnValueHandler` Support for `CompletableFuture` (and as of 4.3.7 also `CompletionStage`) as a return value type.
    `class` | `HandlerMethodReturnValueHandlerComposite` A HandlerMethodReturnValueHandler that wraps and delegates to others.
    `class` | `ListenableFutureReturnValueHandler` Support for `ListenableFuture` as a return value type.
    `class` | `ReactiveReturnValueHandler` Support for single-value reactive types (like `Mono` or `Single`) as a return value type.

    Methods in org.springframework.messaging.handler.invocation that return types with arguments of type HandlerMethodReturnValueHandler
    Modifier and Type | Method and Description
    --- | ---
    `List<HandlerMethodReturnValueHandler>` | AbstractMethodMessageHandler.`getCustomReturnValueHandlers()` Return the configured custom return value handlers, if any.
    `List<HandlerMethodReturnValueHandler>` | HandlerMethodReturnValueHandlerComposite.`getReturnValueHandlers()` Return a read-only list with the configured handlers.
    `List<HandlerMethodReturnValueHandler>` | AbstractMethodMessageHandler.`getReturnValueHandlers()` Return the complete list of return value 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 and Description
    --- | ---
    `HandlerMethodReturnValueHandlerComposite` | HandlerMethodReturnValueHandlerComposite.`addHandler(HandlerMethodReturnValueHandler returnValueHandler)` Add the given `HandlerMethodReturnValueHandler`.

    Method parameters in org.springframework.messaging.handler.invocation with type arguments of type HandlerMethodReturnValueHandler
    Modifier and Type | Method and Description
    --- | ---
    `HandlerMethodReturnValueHandlerComposite` | HandlerMethodReturnValueHandlerComposite.`addHandlers(List<? extends HandlerMethodReturnValueHandler> handlers)` Add the given `HandlerMethodReturnValueHandlers`.
    `void` | AbstractMethodMessageHandler.`setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler> customReturnValueHandlers)` Set the list of custom `HandlerMethodReturnValueHandler`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 and Description
    --- | ---
    `class` | `SendToMethodReturnValueHandler` A `HandlerMethodReturnValueHandler` for sending to destinations specified in a `SendTo` or `SendToUser` 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 and 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 and 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 and Description
    --- | ---
    `default void` | WebSocketMessageBrokerConfigurer.`addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers)` Add handlers to support custom controller method return value types.
    `protected void` | DelegatingWebSocketMessageBrokerConfiguration.`addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers)`
    `void` | AbstractWebSocketMessageBrokerConfigurer.`addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers)` Deprecated.