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(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>> |
MultipartBodyBuilder.asyncPart(java.lang.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(java.lang.String headerName,
java.lang.String... headerValues)
Add part header values.
|
MultipartBodyBuilder.PartBuilder |
MultipartBodyBuilder.PartBuilder.headers(java.util.function.Consumer<HttpHeaders> headersConsumer)
Manipulate the part headers through the given consumer.
|
MultipartBodyBuilder.PartBuilder |
MultipartBodyBuilder.part(java.lang.String name,
java.lang.Object part)
Add a part from an Object.
|
MultipartBodyBuilder.PartBuilder |
MultipartBodyBuilder.part(java.lang.String name,
java.lang.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. |