Constructor and Description |
---|
VertxStreamConsumer(io.vertx.core.Vertx vertx,
java.lang.String streamAddress) |
Modifier and Type | Method and Description |
---|---|
VertxStreamConsumer |
endHandler(io.vertx.core.Handler<java.lang.Void> endHandler) |
VertxStreamConsumer |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) |
void |
fail(java.lang.Throwable e) |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
fetch(long amount) |
VertxStreamConsumer |
handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) |
VertxStreamConsumer |
pause() |
void |
pushData(io.vertx.core.buffer.Buffer data) |
void |
pushEnd() |
VertxStreamConsumer |
resume() |
public VertxStreamConsumer(io.vertx.core.Vertx vertx, java.lang.String streamAddress)
public VertxStreamConsumer 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 VertxStreamConsumer pause()
pause
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public VertxStreamConsumer resume()
resume
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public VertxStreamConsumer 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 VertxStreamConsumer endHandler(io.vertx.core.Handler<java.lang.Void> endHandler)
endHandler
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public void pushData(io.vertx.core.buffer.Buffer data)
public void pushEnd()
public void fail(java.lang.Throwable e)
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.