public class BufferReadStream
extends java.lang.Object
implements io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
ReadStream that reads from a buffer| Constructor and Description |
|---|
BufferReadStream(io.vertx.core.buffer.Buffer buf)
Constructs a stream
|
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
endHandler(io.vertx.core.Handler<java.lang.Void> endHandler) |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
pause() |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
resume() |
public BufferReadStream(io.vertx.core.buffer.Buffer buf)
buf - the buffer to read frompublic io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler)
exceptionHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>exceptionHandler in interface io.vertx.core.streams.StreamBasepublic io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler)
handler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> pause()
pause in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> resume()
resume in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> endHandler(io.vertx.core.Handler<java.lang.Void> endHandler)
endHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>