@groovy.transform.CompileStatic class ReadStreamImpl extends java.lang.Object
Constructor and description |
---|
ReadStreamImpl
(java.lang.Object delegate) |
Type | Name and description |
---|---|
ReadStream<T> |
endHandler(io.vertx.core.Handler<java.lang.Void> endHandler) Set an end handler. |
ReadStream<T> |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) Set an exception handler on the read stream. |
java.lang.Object |
getDelegate() |
ReadStream<T> |
handler(io.vertx.core.Handler<T> handler) Set a data handler. |
ReadStream<T> |
pause() Pause the ReadSupport . |
ReadStream<T> |
resume() Resume reading. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Set an end handler. Once the stream has ended, and there is no more data to be read, this handler will be called.
Set an exception handler on the read stream.
handler
- the exception handlerSet a data handler. As data is read, the handler will be called with the data.
Pause the ReadSupport
. While it's paused, no data will be sent to the dataHandler
Resume reading. If the ReadSupport
has been paused, reading will recommence on it.