Class BufferedStream
java.lang.Object
net.bluemind.core.rest.http.internal.BufferedStream
- All Implemented Interfaces:
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
,io.vertx.core.streams.StreamBase
public class BufferedStream
extends Object
implements io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
end()
endHandler
(io.vertx.core.Handler<Void> endHandler) exceptionHandler
(io.vertx.core.Handler<Throwable> handler) void
io.vertx.core.streams.ReadStream
<io.vertx.core.buffer.Buffer> fetch
(long amount) handler
(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) pause()
resume()
void
write
(io.vertx.core.buffer.Buffer data) 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
-
BufferedStream
public BufferedStream()
-
-
Method Details
-
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>
-
write
public void write(io.vertx.core.buffer.Buffer data) -
failure
-
end
public void end() -
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>
-