static WriteableBodyPart.Builder |
WriteableBodyPart.builder() |
Create a new builder instance.
|
WriteableBodyPart.Builder |
WriteableBodyPart.Builder.entity(Object entity) |
Create a new body part backed by the specified entity.
|
<T> WriteableBodyPart.Builder |
WriteableBodyPart.Builder.entityStream(Flow.Publisher<T> stream,
Class<T> type) |
Create a new body part backed by the specified entity stream.
|
WriteableBodyPart.Builder |
WriteableBodyPart.Builder.filename(String fileName) |
|
WriteableBodyPart.Builder |
WriteableBodyPart.Builder.headers(WriteableBodyPartHeaders headers) |
Set the headers for this part.
|
WriteableBodyPart.Builder |
WriteableBodyPart.Builder.headers(Supplier<WriteableBodyPartHeaders> supplier) |
Set the headers for this part.
|
WriteableBodyPart.Builder |
WriteableBodyPart.Builder.headers(Map<String,List<String>> headers) |
Set the headers for this part.
|
WriteableBodyPart.Builder |
WriteableBodyPart.Builder.name(String name) |
|
WriteableBodyPart.Builder |
WriteableBodyPart.Builder.publisher(Flow.Publisher<DataChunk> publisher) |
Create a new body part backed by the specified publisher.
|