Uses of Interface
org.springframework.http.client.MultipartBodyBuilder.PartBuilder
Packages that use MultipartBodyBuilder.PartBuilder
-
Uses of MultipartBodyBuilder.PartBuilder in org.springframework.http.client
Methods in org.springframework.http.client that return MultipartBodyBuilder.PartBuilderModifier and TypeMethodDescription<T,P extends Publisher<T>>
MultipartBodyBuilder.PartBuilderAdd a part fromPublishercontent.<T,P extends Publisher<T>>
MultipartBodyBuilder.PartBuilderMultipartBodyBuilder.asyncPart(String name, P publisher, ParameterizedTypeReference<T> typeReference) Variant ofMultipartBodyBuilder.asyncPart(String, Publisher, Class)with aParameterizedTypeReferencefor 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 (e.g.Variant ofMultipartBodyBuilder.part(String, Object)that also accepts a MediaType.