public class QueueReadStream
extends java.lang.Object
implements io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
Constructor and Description |
---|
QueueReadStream() |
Modifier and Type | Method and Description |
---|---|
void |
end() |
QueueReadStream |
endHandler(io.vertx.core.Handler<java.lang.Void> endHandler) |
QueueReadStream |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
fetch(long amount) |
QueueReadStream |
handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) |
QueueReadStream |
pause() |
void |
queue(io.vertx.core.buffer.Buffer buffer) |
QueueReadStream |
resume() |
public QueueReadStream 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 void queue(io.vertx.core.buffer.Buffer buffer)
public void end()
public QueueReadStream pause()
pause
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public QueueReadStream resume()
resume
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public QueueReadStream 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.StreamBase
public QueueReadStream endHandler(io.vertx.core.Handler<java.lang.Void> endHandler)
endHandler
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> fetch(long amount)
fetch
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
Copyright © 2021. All Rights Reserved.