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

FilePart

interface FilePart : Part

Specialization of Part for a file upload.

Author
Rossen Stoyanchev

Since
5.0

Functions

filename

abstract fun filename(): String

Return the original filename in the client's filesystem.

transferTo

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

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