public static interface BodyInserters.MultipartInserter extends BodyInserters.FormInserter<Object>
BodyInserters.FormInserter that allows for adding asynchronous parts.BodyInserter.Context| Modifier and Type | Method and Description | 
|---|---|
| <T,P extends org.reactivestreams.Publisher<T>> | withPublisher(String name,
             P publisher,
             Class<T> elementClass)Add an asynchronous part with  Publisher-based content. | 
| <T,P extends org.reactivestreams.Publisher<T>> | withPublisher(String name,
             P publisher,
             ParameterizedTypeReference<T> typeReference)Variant of  withPublisher(String, Publisher, Class)that accepts aParameterizedTypeReferencefor the element type, which allows
 specifying generic type information. | 
with, withinsert<T,P extends org.reactivestreams.Publisher<T>> BodyInserters.MultipartInserter withPublisher(String name, P publisher, Class<T> elementClass)
Publisher-based content.name - the name of the part to addpublisher - the part contentselementClass - the type of elements contained in the publisher<T,P extends org.reactivestreams.Publisher<T>> BodyInserters.MultipartInserter withPublisher(String name, P publisher, ParameterizedTypeReference<T> typeReference)
withPublisher(String, Publisher, Class) that accepts a
 ParameterizedTypeReference for the element type, which allows
 specifying generic type information.name - the key to be addedpublisher - the publisher to be added as valuetypeReference - the type of elements contained in publisher