public class HttpServerRequestStream extends Object implements ReadStream<HttpServerRequest>
ReadStream of HttpServerRequest, used for
notifying http request to a HttpServer.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.| Constructor and Description |
|---|
HttpServerRequestStream(HttpServerRequestStream delegate) |
| Modifier and Type | Method and Description |
|---|---|
HttpServerRequestStream |
endHandler(Handler<Void> endHandler)
Set an end handler.
|
HttpServerRequestStream |
exceptionHandler(Handler<Throwable> handler)
Set an exception handler on the read stream.
|
Object |
getDelegate() |
HttpServerRequestStream |
handler(Handler<HttpServerRequest> handler)
Set a data handler.
|
static HttpServerRequestStream |
newInstance(HttpServerRequestStream arg) |
HttpServerRequestStream |
pause()
Pause the
ReadSupport. |
HttpServerRequestStream |
resume()
Resume reading.
|
rx.Observable<HttpServerRequest> |
toObservable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstancenewInstancepublic HttpServerRequestStream(HttpServerRequestStream delegate)
public Object getDelegate()
getDelegate in interface ReadStream<HttpServerRequest>getDelegate in interface StreamBasepublic rx.Observable<HttpServerRequest> toObservable()
toObservable in interface ReadStream<HttpServerRequest>public HttpServerRequestStream exceptionHandler(Handler<Throwable> handler)
ReadStreamexceptionHandler in interface ReadStream<HttpServerRequest>exceptionHandler in interface StreamBasehandler - the exception handlerpublic HttpServerRequestStream handler(Handler<HttpServerRequest> handler)
ReadStreamhandler in interface ReadStream<HttpServerRequest>public HttpServerRequestStream pause()
ReadStreamReadSupport. While it's paused, no data will be sent to the dataHandlerpause in interface ReadStream<HttpServerRequest>public HttpServerRequestStream resume()
ReadStreamReadSupport has been paused, reading will recommence on it.resume in interface ReadStream<HttpServerRequest>public HttpServerRequestStream endHandler(Handler<Void> endHandler)
ReadStreamendHandler in interface ReadStream<HttpServerRequest>public static HttpServerRequestStream newInstance(HttpServerRequestStream arg)
Copyright © 2015. All rights reserved.