接口 BodyInserter<T,M extends ReactiveHttpOutputMessage>
- 类型参数:
T- the type of data to insertM- the type ofReactiveHttpOutputMessagethis inserter can be applied to
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
A combination of functions that can populate a
ReactiveHttpOutputMessage body.- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma
- 另请参阅:
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明reactor.core.publisher.Mono<Void>insert(M outputMessage, BodyInserter.Context context) Insert into the given output message.
-
方法详细资料
-
insert
Insert into the given output message.- 参数:
outputMessage- the response to insert intocontext- the context to use- 返回:
- a
Monothat indicates completion or error
-