public static interface MultipartBodyBuilder.PartBuilder
Modifier and Type | Method and Description |
---|---|
MultipartBodyBuilder.PartBuilder |
header(java.lang.String headerName,
java.lang.String... headerValues)
Add part header values.
|
MultipartBodyBuilder.PartBuilder |
headers(java.util.function.Consumer<HttpHeaders> headersConsumer)
Manipulate the part headers through the given consumer.
|
MultipartBodyBuilder.PartBuilder header(java.lang.String headerName, java.lang.String... headerValues)
headerName
- the part header nameheaderValues
- the part header value(s)HttpHeaders.addAll(String, List)
MultipartBodyBuilder.PartBuilder headers(java.util.function.Consumer<HttpHeaders> headersConsumer)
headersConsumer
- consumer to manipulate the part headers with