public interface Part
The origin of a multipart request may a browser form in which case each
part is either a FormFieldPart
or a FilePart
.
Multipart requests may also be used outside of a browser for data of any content type (e.g. JSON, PDF, etc).
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<DataBuffer> |
content()
Return the content for this part.
|
HttpHeaders |
headers()
Return the headers associated with the part.
|
String |
name()
Return the name of the part in the multipart form.
|
String name()
null
or emptyHttpHeaders headers()
reactor.core.publisher.Flux<DataBuffer> content()
Note that for a FormFieldPart
the content may be accessed
more easily via FormFieldPart.value()
.