- java.lang.Object
-
- io.helidon.media.multipart.WriteableBodyPart
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWriteableBodyPart.BuilderBuilder class for creatingBodyPartinstances.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WriteableBodyPart.Builderbuilder()Create a new builder instance.WriteableBodyPartContentcontent()Get the reactive representation of the part content.static WriteableBodyPartcreate(Object entity)Create a new out-bound part backed by the specified entity.WriteableBodyPartHeadersheaders()Returns HTTP part headers.
-
-
-
Method Detail
-
content
public WriteableBodyPartContent content()
Description copied from interface:BodyPartGet the reactive representation of the part content.- Specified by:
contentin interfaceBodyPart- Returns:
MessageBodyContent, nevernull
-
headers
public WriteableBodyPartHeaders headers()
Description copied from interface:BodyPartReturns HTTP part headers.
-
create
public static WriteableBodyPart create(Object entity)
Create a new out-bound part backed by the specified entity.- Parameters:
entity- entity for the created part content- Returns:
- BodyPart
-
builder
public static WriteableBodyPart.Builder builder()
Create a new builder instance.- Returns:
- Builder
-
-