Package | Description |
---|---|
org.springframework.web.reactive.function |
Provides a foundation for both the reactive client and server subpackages.
|
Modifier and Type | Method and Description |
---|---|
static <T,P extends org.reactivestreams.Publisher<T>> |
BodyInserters.fromMultipartAsyncData(String name,
P publisher,
Class<T> elementClass)
Return a
BodyInserters.MultipartInserter to write the given asynchronous parts,
as multipart data. |
static <T,P extends org.reactivestreams.Publisher<T>> |
BodyInserters.fromMultipartAsyncData(String name,
P publisher,
ParameterizedTypeReference<T> typeReference)
Variant of
BodyInserters.fromMultipartAsyncData(String, Publisher, Class) that
accepts a ParameterizedTypeReference for the element type, which
allows specifying generic type information. |
static BodyInserters.MultipartInserter |
BodyInserters.fromMultipartData(MultiValueMap<String,?> multipartData)
Return a
BodyInserters.MultipartInserter to write the given
MultiValueMap as multipart data. |
static BodyInserters.MultipartInserter |
BodyInserters.fromMultipartData(String name,
Object value)
Return a
BodyInserters.MultipartInserter to write the given parts,
as multipart data. |
<T,P extends org.reactivestreams.Publisher<T>> |
BodyInserters.MultipartInserter.withPublisher(String name,
P publisher,
Class<T> elementClass)
Add an asynchronous part with
Publisher -based content. |
<T,P extends org.reactivestreams.Publisher<T>> |
BodyInserters.MultipartInserter.withPublisher(String name,
P publisher,
ParameterizedTypeReference<T> typeReference)
Variant of
withPublisher(String, Publisher, Class) that accepts a
ParameterizedTypeReference for the element type, which allows
specifying generic type information. |