spring-framework / org.springframework.http.codec.multipart / FilePart / transferTo

transferTo

abstract fun transferTo(dest: File): Mono<Void>

Transfer the file in this part to the given file destination.

Parameters

dest - the target file

Return
completion Mono with the result of the file transfer, possibly IllegalStateException if the part isn't a file