java.lang.Object
io.helidon.media.multipart.WriteableBodyPart
- All Implemented Interfaces:
BodyPart
Writeable body part entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder class for creatingBodyPartinstances. -
Method Summary
Modifier and TypeMethodDescriptionstatic WriteableBodyPart.Builderbuilder()Create a new builder instance.content()Get the reactive representation of the part content.static WriteableBodyPartCreate a new out-bound part backed by the specified entity.headers()Returns HTTP part headers.
-
Method Details
-
content
Description copied from interface:BodyPartGet the reactive representation of the part content.- Specified by:
contentin interfaceBodyPart- Returns:
MessageBodyContent, nevernull
-
headers
Description copied from interface:BodyPartReturns 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
-