vertx / io.vertx.reactivex.core.http / HttpServerFileUpload

HttpServerFileUpload

open class HttpServerFileUpload : ReadStream<Buffer>

Represents an file upload from an HTML FORM. NOTE: This class has been automatically generated from the io.vertx.core.http.HttpServerFileUpload non RX-ified interface using Vert.x codegen.

Constructors

<init>

HttpServerFileUpload(delegate: HttpServerFileUpload)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<HttpServerFileUpload>

Functions

charset

open fun charset(): String

contentTransferEncoding

open fun contentTransferEncoding(): String

contentType

open fun contentType(): String

endHandler

open fun endHandler(endHandler: Handler<Void>): HttpServerFileUpload

equals

open fun equals(other: Any?): Boolean

exceptionHandler

open fun exceptionHandler(handler: Handler<Throwable>): HttpServerFileUpload

filename

open fun filename(): String

getDelegate

open fun getDelegate(): HttpServerFileUpload

handler

open fun handler(handler: Handler<Buffer>): HttpServerFileUpload

hashCode

open fun hashCode(): Int

isSizeAvailable

open fun isSizeAvailable(): Boolean

name

open fun name(): String

newInstance

open static fun newInstance(arg: HttpServerFileUpload): HttpServerFileUpload

pause

open fun pause(): HttpServerFileUpload

resume

open fun resume(): HttpServerFileUpload

size

open fun size(): Long

The size of the upload may not be available until it is all read. Check io.vertx.reactivex.core.http.HttpServerFileUpload#isSizeAvailable to determine this

streamToFileSystem

open fun streamToFileSystem(filename: String): HttpServerFileUpload

Stream the content of this upload to the given file on storage.

toFlowable

open fun toFlowable(): Flowable<Buffer>

toObservable

open fun toObservable(): Observable<Buffer>

toString

open fun toString(): String