Package org.jboss.resteasy.client.jaxrs.engines.vertx

## 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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### InputStreamAdapter

          public InputStreamAdapter​(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream)

    - #### InputStreamAdapter

          public InputStreamAdapter​(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream,
                                    long maxPendingSize)

  - ### Method Detail

    - #### read

          public int read()
                   throws IOException

      Specified by:
        `read` in class `InputStream`
      Throws:
        `IOException`

    - #### read

          public int read​(byte[] b,
                          int off,
                          int len)
                   throws IOException

      Overrides:
        `read` in class `InputStream`
      Throws:
        `IOException`