Example usage for org.springframework.messaging.handler.invocation HandlerMethodReturnValueHandler interface-usage

List of usage examples for org.springframework.messaging.handler.invocation HandlerMethodReturnValueHandler interface-usage

Introduction

In this page you can find the example usage for org.springframework.messaging.handler.invocation HandlerMethodReturnValueHandler interface-usage.

Usage

From source file org.springframework.messaging.simp.annotation.support.SubscriptionMethodReturnValueHandler.java

/**
 * {@code HandlerMethodReturnValueHandler} for replying directly to a
 * subscription. It is supported on methods annotated with
 * {@link org.springframework.messaging.simp.annotation.SubscribeMapping
 * SubscribeMapping} such that the return value is treated as a response to be
 * sent directly back on the session. This allows a client to implement