Top Description Fields Constructors Methods
org.springframework.messaging.handler.invocation.reactive

public Class ReturnValueHandlerConfigurer

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Arrays, .List, org.springframework.util.Assert

Assist with configuration for handler method return value handlers. At present, it supports only providing a list of custom handlers.
Author
Rossen Stoyanchev
Since
5.2

Field Summary

Modifier and TypeField and Description
private final List<HandlerMethodReturnValueHandler>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addCustomHandler(HandlerMethodReturnValueHandler...
the handlers to add
handlers
)

Configure custom return value handlers for handler methods.

public List<HandlerMethodReturnValueHandler>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

customHandlersback to summary
private final List<HandlerMethodReturnValueHandler> customHandlers

Constructor Detail

ReturnValueHandlerConfigurerback to summary
public ReturnValueHandlerConfigurer()

Method Detail

addCustomHandlerback to summary
public void addCustomHandler(HandlerMethodReturnValueHandler... handlers)

Configure custom return value handlers for handler methods.

Parameters
handlers:HandlerMethodReturnValueHandler[]

the handlers to add

getCustomHandlersback to summary
public List<HandlerMethodReturnValueHandler> getCustomHandlers()