public class HttpServerFileUpload extends Object implements ReadStream<Buffer>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<HttpServerFileUpload> |
__TYPE_ARG |
| Constructor and Description |
|---|
HttpServerFileUpload(HttpServerFileUpload delegate) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnewInstance, newInstancenewInstancepublic static final TypeArg<HttpServerFileUpload> __TYPE_ARG
public HttpServerFileUpload(HttpServerFileUpload delegate)
public HttpServerFileUpload getDelegate()
getDelegate in interface ReadStream<Buffer>getDelegate in interface StreamBasepublic Observable<Buffer> toObservable()
toObservable in interface ReadStream<Buffer>public Flowable<Buffer> toFlowable()
toFlowable in interface ReadStream<Buffer>public HttpServerFileUpload exceptionHandler(Handler<Throwable> handler)
ReadStreamexceptionHandler in interface ReadStream<Buffer>exceptionHandler in interface StreamBasehandler - the exception handlerpublic HttpServerFileUpload handler(Handler<Buffer> handler)
ReadStreamhandler in interface ReadStream<Buffer>public HttpServerFileUpload endHandler(Handler<Void> endHandler)
ReadStreamendHandler in interface ReadStream<Buffer>public HttpServerFileUpload pause()
ReadStreamReadSupport. While it's paused, no data will be sent to the dataHandlerpause in interface ReadStream<Buffer>public HttpServerFileUpload resume()
ReadStreamReadSupport has been paused, reading will recommence on it.resume in interface ReadStream<Buffer>public HttpServerFileUpload streamToFileSystem(String filename)
filename - the name of the filepublic String filename()
public String name()
public String contentType()
public String contentTransferEncoding()
public String charset()
public long size()
isSizeAvailable() to determine thispublic boolean isSizeAvailable()
size().public static HttpServerFileUpload newInstance(HttpServerFileUpload arg)
Copyright © 2017. All rights reserved.