java.lang.Object
io.helidon.media.multipart.WriteableBodyPart
- All Implemented Interfaces:
BodyPart
Writeable body part entity.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class for creatingBodyPart
instances. -
Method Summary
Modifier and TypeMethodDescriptionstatic WriteableBodyPart.Builder
builder()
Create a new builder instance.content()
Get the reactive representation of the part content.static WriteableBodyPart
Create a new out-bound part backed by the specified entity.headers()
Returns HTTP part headers.
-
Method Details
-
content
Description copied from interface:BodyPart
Get the reactive representation of the part content.- Specified by:
content
in interfaceBodyPart
- Returns:
MessageBodyContent
, nevernull
-
headers
Description copied from interface:BodyPart
Returns HTTP part headers. -
create
Create a new out-bound part backed by the specified entity.- Parameters:
entity
- entity for the created part content- Returns:
- BodyPart
-
builder
Create a new builder instance.- Returns:
- Builder
-