public class InputStreamToReadStream extends Object implements io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_READ_BUFFER_SIZE |
| Constructor and Description |
|---|
InputStreamToReadStream(io.vertx.core.Vertx vertx,
InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
endHandler(io.vertx.core.Handler<Void> handler) |
InputStreamToReadStream |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
InputStream |
getInputStream() |
InputStreamToReadStream |
handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) |
InputStreamToReadStream |
pause() |
InputStreamToReadStream |
readBufferSize(int readBufferSize) |
InputStreamToReadStream |
resume() |
public static final int DEFAULT_READ_BUFFER_SIZE
public InputStreamToReadStream(io.vertx.core.Vertx vertx,
InputStream inputStream)
public InputStream getInputStream()
public InputStreamToReadStream readBufferSize(int readBufferSize)
public InputStreamToReadStream exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>exceptionHandler in interface io.vertx.core.streams.StreamBasepublic InputStreamToReadStream 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 InputStreamToReadStream pause()
pause in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>public InputStreamToReadStream resume()
resume in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>public io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> endHandler(io.vertx.core.Handler<Void> handler)
endHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>Copyright © 2017–2018 The Apache Software Foundation. All rights reserved.