org.springframework.web.reactive.function

Interface BodyInserters.MultipartInserter

    • Method Detail

      • withPublisher

        <T,P extends org.reactivestreams.Publisher<T>> BodyInserters.MultipartInserter withPublisher(java.lang.String name,
                                                                                                     P publisher,
                                                                                                     java.lang.Class<T> elementClass)
        Add an asynchronous part with Publisher-based content.
        Parameters:
        name - the name of the part to add
        publisher - the part contents
        elementClass - the type of elements contained in the publisher
        Returns:
        this inserter for adding more parts