Class InputStreamAdapter
- java.lang.Object
-
- java.io.InputStream
-
- org.jboss.resteasy.client.jaxrs.engines.vertx.InputStreamAdapter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class InputStreamAdapter extends InputStream
-
-
Constructor Summary
Constructors Constructor Description InputStreamAdapter(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream)
InputStreamAdapter(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream, long maxPendingSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
int
read(byte[] b, int off, int len)
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, reset, skip
-
-
-
-
Method Detail
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
-