public class InMemReadStream extends java.lang.Object implements org.vertx.java.core.streams.ReadStream<InMemReadStream>
Constructor and Description |
---|
InMemReadStream(byte[] responseBodyAsBytes) |
Modifier and Type | Method and Description |
---|---|
InMemReadStream |
dataHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> handler) |
InMemReadStream |
endHandler(org.vertx.java.core.Handler<java.lang.Void> endHandler) |
InMemReadStream |
exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler) |
InMemReadStream |
pause() |
InMemReadStream |
resume() |
public InMemReadStream dataHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> handler)
dataHandler
in interface org.vertx.java.core.streams.ReadSupport<InMemReadStream,org.vertx.java.core.buffer.Buffer>
public InMemReadStream pause()
pause
in interface org.vertx.java.core.streams.ReadSupport<InMemReadStream,org.vertx.java.core.buffer.Buffer>
public InMemReadStream resume()
resume
in interface org.vertx.java.core.streams.ReadSupport<InMemReadStream,org.vertx.java.core.buffer.Buffer>
public InMemReadStream exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler)
exceptionHandler
in interface org.vertx.java.core.streams.ExceptionSupport<InMemReadStream>
public InMemReadStream endHandler(org.vertx.java.core.Handler<java.lang.Void> endHandler)
endHandler
in interface org.vertx.java.core.streams.ReadStream<InMemReadStream>
Copyright © 2021. All Rights Reserved.