接口 BodyInserters.MultipartInserter
- 所有超级接口:
BodyInserter<cn.taketoday.util.MultiValueMap<String,,Object>, ClientHttpRequest> BodyInserters.FormInserter<Object>
- 封闭类:
- BodyInserters
Extension of
BodyInserters.FormInserter that allows for adding asynchronous parts.-
嵌套类概要
从接口继承的嵌套类/接口 cn.taketoday.web.reactive.function.BodyInserter
BodyInserter.Context -
方法概要
修饰符和类型方法说明<T,P extends org.reactivestreams.Publisher<T>>
BodyInserters.MultipartInserterwithPublisher(String name, P publisher, cn.taketoday.core.ParameterizedTypeReference<T> typeReference) Variant ofwithPublisher(String, Publisher, Class)that accepts aParameterizedTypeReferencefor the element type, which allows specifying generic type information.<T,P extends org.reactivestreams.Publisher<T>>
BodyInserters.MultipartInserterwithPublisher(String name, P publisher, Class<T> elementClass) Add an asynchronous part withPublisher-based content.从接口继承的方法 cn.taketoday.web.reactive.function.BodyInserter
insert从接口继承的方法 cn.taketoday.web.reactive.function.BodyInserters.FormInserter
with, with
-
方法详细资料
-
withPublisher
<T,P extends org.reactivestreams.Publisher<T>> BodyInserters.MultipartInserter withPublisher(String name, P publisher, Class<T> elementClass) Add an asynchronous part withPublisher-based content.- 参数:
name- the name of the part to addpublisher- the part contentselementClass- the type of elements contained in the publisher- 返回:
- this inserter for adding more parts
-
withPublisher
<T,P extends org.reactivestreams.Publisher<T>> BodyInserters.MultipartInserter withPublisher(String name, P publisher, cn.taketoday.core.ParameterizedTypeReference<T> typeReference) Variant ofwithPublisher(String, Publisher, Class)that accepts aParameterizedTypeReferencefor 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 inpublisher- 返回:
- this inserter for adding more parts
-