public interface Part
The origin of a multipart request may be a browser form in which case each
part is either a FormFieldPart
or a FilePart
.
Multipart requests may also be used outside 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.
|
default reactor.core.publisher.Mono<Void> |
delete()
Return a mono that, when subscribed to, deletes the underlying storage
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()
.
default reactor.core.publisher.Mono<Void> delete()