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