接口的使用
org.springframework.web.reactive.function.BodyInserters.MultipartInserter
使用BodyInserters.MultipartInserter的程序包 程序包 说明 org.springframework.web.reactive.function Provides a foundation for both the reactive client and server subpackages.org.springframework.web.reactive.function中BodyInserters.MultipartInserter的使用
返回BodyInserters.MultipartInserter的org.springframework.web.reactive.function中的方法 修饰符和类型 方法 说明 static <T,P extends org.reactivestreams.Publisher<T>>
BodyInserters.MultipartInserterBodyInserters. fromMultipartAsyncData(String name, P publisher, Class<T> elementClass)Return aBodyInserters.MultipartInserterto write the given asynchronous parts, as multipart data.static <T,P extends org.reactivestreams.Publisher<T>>
BodyInserters.MultipartInserterBodyInserters. fromMultipartAsyncData(String name, P publisher, ParameterizedTypeReference<T> typeReference)Variant ofBodyInserters.fromMultipartAsyncData(String, Publisher, Class)that accepts aParameterizedTypeReferencefor the element type, which allows specifying generic type information.static BodyInserters.MultipartInserterBodyInserters. fromMultipartData(String name, Object value)Return aBodyInserters.MultipartInserterto write the given parts, as multipart data.static BodyInserters.MultipartInserterBodyInserters. fromMultipartData(MultiValueMap<String,?> multipartData)Return aBodyInserters.MultipartInserterto write the givenMultiValueMapas multipart data.<T,P extends org.reactivestreams.Publisher<T>>
BodyInserters.MultipartInserterBodyInserters.MultipartInserter. withPublisher(String name, P publisher, Class<T> elementClass)Add an asynchronous part withPublisher-based content.<T,P extends org.reactivestreams.Publisher<T>>
BodyInserters.MultipartInserterBodyInserters.MultipartInserter. withPublisher(String name, P publisher, ParameterizedTypeReference<T> typeReference)Variant ofwithPublisher(String, Publisher, Class)that accepts aParameterizedTypeReferencefor the element type, which allows specifying generic type information.