java.lang.Object
io.helidon.media.multipart.WriteableMultiPart
Writeable multipart entity.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class for creatingWriteableMultiPart
instances. -
Method Summary
Modifier and TypeMethodDescriptionGet all the nested body parts.static WriteableMultiPart.Builder
builder()
Create a new builder instance.static WriteableMultiPart
create
(WriteableBodyPart... entities) Shorthand for creatingWriteableMultiPart
instances with the specified entities as body parts.static WriteableMultiPart
create
(Collection<WriteableBodyPart> entities) Shorthand for creatingWriteableMultiPart
instances with the specified entities as body parts.static WriteableMultiPart
create
(Supplier<WriteableBodyPart>... suppliers) Shorthand for creatingWriteableMultiPart
instances with the specified entities as body parts.
-
Method Details
-
bodyParts
Get all the nested body parts.- Returns:
- list of
BodyPart
-
create
Shorthand for creatingWriteableMultiPart
instances with the specified entities as body parts.- Parameters:
entities
- the body part entities- Returns:
- created MultiPart
-
create
Shorthand for creatingWriteableMultiPart
instances with the specified entities as body parts.- Parameters:
suppliers
- suppliers of body part entity- Returns:
- created MultiPart
-
create
Shorthand for creatingWriteableMultiPart
instances with the specified entities as body parts.- Parameters:
entities
- the body part entities- Returns:
- created MultiPart
-
builder
Create a new builder instance.- Returns:
- Builder
-