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