-
- All Known Implementing Classes:
ReadableBodyPart
,WriteableBodyPart
public interface BodyPart
Body part entity.- See Also:
ReadableBodyPart
,WriteableBodyPart
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MessageBodyContent
content()
Get the reactive representation of the part content.default String
filename()
Get the file name.BodyPartHeaders
headers()
Returns HTTP part headers.default String
name()
Get the control name.
-
-
-
Method Detail
-
content
MessageBodyContent content()
Get the reactive representation of the part content.- Returns:
MessageBodyContent
, nevernull
-
headers
BodyPartHeaders headers()
Returns HTTP part headers.- Returns:
- BodyPartHeaders, never
null
-
name
default String name()
Get the control name.- Returns:
- the
name
parameter of theContent-Disposition
header, ornull
if not present.
-
filename
default String filename()
Get the file name.- Returns:
- the
filename
parameter of theContent-Disposition
header, ornull
if not present.
-
-