Uses of Interface
org.springframework.http.client.MultipartBodyBuilder.PartBuilder
-
Uses of MultipartBodyBuilder.PartBuilder in org.springframework.http.client
Modifier and TypeMethodDescription<T,
P extends Publisher<T>>
MultipartBodyBuilder.PartBuilderAdd a part fromPublisher
content.<T,
P extends Publisher<T>>
MultipartBodyBuilder.PartBuilderMultipartBodyBuilder.asyncPart
(String name, P publisher, ParameterizedTypeReference<T> typeReference) Variant ofMultipartBodyBuilder.asyncPart(String, Publisher, Class)
with aParameterizedTypeReference
for the element type information.MultipartBodyBuilder.PartBuilder.contentType
(MediaType contentType) Set the media type of the part.Set the filename parameter for a file part.Add part header values.MultipartBodyBuilder.PartBuilder.headers
(Consumer<HttpHeaders> headersConsumer) Manipulate the part headers through the given consumer.Add a part where the Object may be: String -- form fieldResource
-- file part Object -- content to be encoded (for example, to JSON).Variant ofMultipartBodyBuilder.part(String, Object)
that also accepts a MediaType.