Interface BodyPart
- All Known Implementing Classes:
ReadableBodyPart,WriteableBodyPart
public interface BodyPart
Body part entity.
- See Also:
-
Method Details
-
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
-
isNamed
Test the control name.- Parameters:
name- the name to test- Returns:
trueif thenameparameter of theContent-Dispositionheader matches,falseotherwise
-
name
Get the control name.- Returns:
- the
nameparameter of theContent-Dispositionheader.
-
filename
Get the file name.- Returns:
- the
filenameparameter of theContent-Dispositionheader.
-