org.springframework.web.reactive.function

Interface BodyInserter<T,M extends ReactiveHttpOutputMessage>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface and Description
      static interface  BodyInserter.Context
      Defines the context used during the insertion.
    • Method Detail

      • insert

        reactor.core.publisher.Mono<java.lang.Void> insert(M outputMessage,
                                                           BodyInserter.Context context)
        Insert into the given output message.
        Parameters:
        outputMessage - the response to insert into
        context - the context to use
        Returns:
        a Mono that indicates completion or error