Modifier and Type | Method and Description |
---|---|
java.lang.String |
filename()
Return the original filename in the client's filesystem.
|
reactor.core.publisher.Mono<java.lang.Void> |
transferTo(java.io.File dest)
Transfer the file in this part to the given file destination.
|
java.lang.String filename()
reactor.core.publisher.Mono<java.lang.Void> transferTo(java.io.File dest)
dest
- the target fileMono
with the result of the file transfer,
possibly IllegalStateException
if the part isn't a file