Package | Description |
---|---|
org.springframework.http.client |
Contains an abstraction over client-side HTTP.
|
Modifier and Type | Method and Description |
---|---|
<T,P extends org.reactivestreams.Publisher<T>> |
MultipartBodyBuilder.asyncPart(String name,
P publisher,
Class<T> elementClass)
Add an asynchronous part with
Publisher -based content. |
<T,P extends org.reactivestreams.Publisher<T>> |
MultipartBodyBuilder.asyncPart(String name,
P publisher,
ParameterizedTypeReference<T> typeReference)
Variant of
MultipartBodyBuilder.asyncPart(String, Publisher, Class) that accepts a
ParameterizedTypeReference for the element type, which allows
specifying generic type information. |
MultipartBodyBuilder.PartBuilder |
MultipartBodyBuilder.PartBuilder.header(String headerName,
String... headerValues)
Add part header values.
|
MultipartBodyBuilder.PartBuilder |
MultipartBodyBuilder.PartBuilder.headers(Consumer<HttpHeaders> headersConsumer)
Manipulate the part headers through the given consumer.
|
MultipartBodyBuilder.PartBuilder |
MultipartBodyBuilder.part(String name,
Object part)
Add a part from an Object.
|
MultipartBodyBuilder.PartBuilder |
MultipartBodyBuilder.part(String name,
Object part,
MediaType contentType)
Variant of
MultipartBodyBuilder.part(String, Object) that also accepts a MediaType
which is used to determine how to encode the part. |