Package net.bluemind.core.rest.vertx
Class VertxStream.ReadStreamStream
java.lang.Object
net.bluemind.core.rest.vertx.VertxStream.ReadStreamStream
- All Implemented Interfaces:
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
,io.vertx.core.streams.StreamBase
,Stream
- Enclosing class:
VertxStream
-
Constructor Summary
ConstructorDescriptionReadStreamStream
(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> delegate) ReadStreamStream
(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> delegate, io.vertx.core.Handler<Void> endHook) ReadStreamStream
(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> delegate, Optional<String> mime, Optional<String> charset, Optional<String> filename, io.vertx.core.Handler<Void> endHook) -
Method Summary
Modifier and TypeMethodDescriptioncharset()
endHandler
(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) fileName()
handler
(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) mime()
pause()
resume()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.vertx.core.streams.ReadStream
pipe, pipeTo, pipeTo
-
Constructor Details
-
ReadStreamStream
public ReadStreamStream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> delegate) -
ReadStreamStream
public ReadStreamStream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> delegate, io.vertx.core.Handler<Void> endHook) -
ReadStreamStream
-
-
Method Details
-
charset
Description copied from interface:Stream
-
mime
Description copied from interface:Stream
-
fileName
Description copied from interface:Stream
-
endHandler
- Specified by:
endHandler
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
handler
public VertxStream.ReadStreamStream handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> 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
-
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>
-
toString
-