public interface ChunkReadStream
extends io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
Modifier and Type | Method and Description |
---|---|
default void | close() Close the stream and release all resources. |
void | close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler) Close the stream and release all resources |
long | getSize() |
long getSize()
default void close()
void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler)
handler
- will be called when the operation has finished (may be null)