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.
|
Observable<HttpServerRequest> |
toObservable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newInstance
newInstance
public HttpServerRequestStream(HttpServerRequestStream delegate)
public Object getDelegate()
getDelegate
in interface ReadStream<HttpServerRequest>
getDelegate
in interface StreamBase
public Observable<HttpServerRequest> toObservable()
toObservable
in interface ReadStream<HttpServerRequest>
public HttpServerRequestStream exceptionHandler(Handler<Throwable> handler)
ReadStream
exceptionHandler
in interface ReadStream<HttpServerRequest>
exceptionHandler
in interface StreamBase
handler
- the exception handlerpublic HttpServerRequestStream handler(Handler<HttpServerRequest> handler)
ReadStream
handler
in interface ReadStream<HttpServerRequest>
public HttpServerRequestStream pause()
ReadStream
ReadSupport
. While it's paused, no data will be sent to the dataHandler
pause
in interface ReadStream<HttpServerRequest>
public HttpServerRequestStream resume()
ReadStream
ReadSupport
has been paused, reading will recommence on it.resume
in interface ReadStream<HttpServerRequest>
public HttpServerRequestStream endHandler(Handler<Void> endHandler)
ReadStream
endHandler
in interface ReadStream<HttpServerRequest>
public static HttpServerRequestStream newInstance(HttpServerRequestStream arg)
Copyright © 2016. All rights reserved.