Package net.bluemind.core.rest.vertx
Class BufferReadStream
java.lang.Object
net.bluemind.core.rest.vertx.BufferReadStream
- All Implemented Interfaces:
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
,io.vertx.core.streams.StreamBase
public class BufferReadStream
extends Object
implements io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendHandler
(io.vertx.core.Handler<Void> endHandler) exceptionHandler
(io.vertx.core.Handler<Throwable> handler) io.vertx.core.streams.ReadStream
<io.vertx.core.buffer.Buffer> fetch
(long amount) handler
(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) io.netty.buffer.ByteBuf
pause()
resume()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vertx.core.streams.ReadStream
pipe, pipeTo, pipeTo
-
Constructor Details
-
BufferReadStream
public BufferReadStream(io.vertx.core.buffer.Buffer data)
-
-
Method Details
-
nettyBuffer
public io.netty.buffer.ByteBuf nettyBuffer() -
handler
- Specified by:
handler
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
pause
- Specified by:
pause
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
resume
- Specified by:
resume
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
exceptionHandler
- Specified by:
exceptionHandler
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
- Specified by:
exceptionHandler
in interfaceio.vertx.core.streams.StreamBase
-
endHandler
- Specified by:
endHandler
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
fetch
public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> fetch(long amount) - Specified by:
fetch
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-