Interface AggregatedBodyPart
- All Superinterfaces:
AggregatedHttpObject
A complete body part whose headers and content are readily available.
-
Method Summary
Modifier and TypeMethodDescriptionfilename()
Returns the file name.name()
Returns the control name.static AggregatedBodyPart
of
(HttpHeaders headers, HttpData content) Returns a newAggregatedBodyPart
.Methods inherited from interface com.linecorp.armeria.common.AggregatedHttpObject
content, content, contentAscii, contentType, contentUtf8, headers
-
Method Details
-
of
Returns a newAggregatedBodyPart
. -
name
Returns the control name.- Returns:
- the
name
parameter of the"content-disposition"
header, ornull
if not present.
-
filename
Returns the file name.- Returns:
- the
filename
parameter of the"content-disposition"
header, ornull
if not present.
-