vertx / io.vertx.core.http / HttpServerFileUpload

# HttpServerFileUpload

`interface HttpServerFileUpload : ReadStream<Buffer>`

Represents an file upload from an HTML FORM.

Author
Norman Maurer

### Functions

charset | `abstract fun charset(): String`
contentTransferEncoding | `abstract fun contentTransferEncoding(): String`
contentType | `abstract fun contentType(): String`
endHandler | `abstract fun endHandler(endHandler: Handler<Void>): HttpServerFileUpload`
exceptionHandler | `abstract fun exceptionHandler(handler: Handler<Throwable>): HttpServerFileUpload`
filename | `abstract fun filename(): String`
handler | `abstract fun handler(handler: Handler<Buffer>): HttpServerFileUpload`
isSizeAvailable | `abstract fun isSizeAvailable(): Boolean`
name | `abstract fun name(): String`
pause | `abstract fun pause(): HttpServerFileUpload`
resume | `abstract fun resume(): HttpServerFileUpload`
size | `abstract fun size(): Long` The size of the upload may not be available until it is all read. Check `#isSizeAvailable` to determine this
streamToFileSystem | `abstract fun streamToFileSystem(filename: String): HttpServerFileUpload` Stream the content of this upload to the given file on storage.