public static class VertxStream.LocalPathStream extends java.lang.Object implements Stream, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
Constructor and Description |
---|
LocalPathStream(java.nio.file.Path p) |
Modifier and Type | Method and Description |
---|---|
VertxStream.LocalPathStream |
endHandler(io.vertx.core.Handler<java.lang.Void> endHandler) |
VertxStream.LocalPathStream |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) |
VertxStream.LocalPathStream |
fetch(long amount) |
VertxStream.LocalPathStream |
handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) |
java.nio.file.Path |
path() |
VertxStream.LocalPathStream |
pause() |
VertxStream.LocalPathStream |
resume() |
public java.nio.file.Path path()
public VertxStream.LocalPathStream 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 VertxStream.LocalPathStream pause()
pause
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public VertxStream.LocalPathStream resume()
resume
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public VertxStream.LocalPathStream 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 VertxStream.LocalPathStream endHandler(io.vertx.core.Handler<java.lang.Void> endHandler)
endHandler
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public VertxStream.LocalPathStream fetch(long amount)
fetch
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
Copyright © 2021. All Rights Reserved.