T - the type of data to insertM - the type of ReactiveHttpOutputMessage this inserter can be applied to@FunctionalInterface public interface BodyInserter<T,M extends ReactiveHttpOutputMessage>
ReactiveHttpOutputMessage body.BodyInserters| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
BodyInserter.Context
Defines the context used during the insertion. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
reactor.core.publisher.Mono<Void> | 
insert(M outputMessage,
      BodyInserter.Context context)
Insert into the given output message. 
 | 
reactor.core.publisher.Mono<Void> insert(M outputMessage, BodyInserter.Context context)
outputMessage - the response to insert intocontext - the context to useMono that indicates completion or error