public class GzipReadStream extends DelegateReadStream<io.vertx.core.buffer.Buffer>
A ReadStream that delegates to another one but decompresses all
data with GZIP.
The code is loosely based on GZIPInputStream
delegate| Constructor and Description |
|---|
GzipReadStream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> delegate)
Creates new stream that wraps around another one
|
| Modifier and Type | Method and Description |
|---|---|
GzipReadStream |
endHandler(io.vertx.core.Handler<java.lang.Void> endHandler) |
GzipReadStream |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) |
GzipReadStream |
handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) |
pause, resumepublic GzipReadStream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> delegate)
delegate - the stream to wrap aroundpublic GzipReadStream 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.StreamBaseexceptionHandler in class DelegateReadStream<io.vertx.core.buffer.Buffer>public GzipReadStream handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler)
handler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>handler in class DelegateReadStream<io.vertx.core.buffer.Buffer>public GzipReadStream endHandler(io.vertx.core.Handler<java.lang.Void> endHandler)
endHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>endHandler in class DelegateReadStream<io.vertx.core.buffer.Buffer>