Class ReturnValueHandlerConfigurer
java.lang.Object
org.springframework.messaging.handler.invocation.reactive.ReturnValueHandlerConfigurer
Assist with configuration for handler method return value handlers.
At present, it supports only providing a list of custom handlers.
- Since:
- 5.2
- Author:
- Rossen Stoyanchev
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCustomHandler
(HandlerMethodReturnValueHandler... handlers) Configure custom return value handlers for handler methods.
-
Constructor Details
-
ReturnValueHandlerConfigurer
public ReturnValueHandlerConfigurer()
-
-
Method Details
-
addCustomHandler
Configure custom return value handlers for handler methods.- Parameters:
handlers
- the handlers to add
-
getCustomHandlers
-