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(java.lang.String name,
P publisher,
java.lang.Class<T> elementClass)
Return a
BodyInserters.MultipartInserter that writes the given asynchronous parts,
as multipart data. |
static <T,P extends org.reactivestreams.Publisher<T>> |
BodyInserters.fromMultipartAsyncData(java.lang.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<java.lang.String,?> multipartData)
Return a
BodyInserters.MultipartInserter that writes the given
MultiValueMap as multipart data. |
static BodyInserters.MultipartInserter |
BodyInserters.fromMultipartData(java.lang.String name,
java.lang.Object value)
Return a
BodyInserters.MultipartInserter that writes the given parts,
as multipart data. |
<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. |
<T,P extends org.reactivestreams.Publisher<T>> |
BodyInserters.MultipartInserter.withPublisher(java.lang.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. |