Package: io.vertx.groovy.core.streams

## [Groovy] Interface ReadStream<T>

- io.vertx.groovy.core.streams.StreamBase

- All Superinterfaces:
    StreamBase

  Represents a stream of items that can be read from.

  Any class that implements this interface can be used by a Pump to pump data from it to a WriteStream.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `ReadStream<T>` | `endHandler(io.vertx.core.Handler<java.lang.Void> endHandler)`
    `ReadStream<T>` | `exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler)`
    `java.lang.Object` | `getDelegate()`
    `ReadStream<T>` | `handler(io.vertx.core.Handler<T> handler)`
    `ReadStream<T>` | `pause()`
    `ReadStream<T>` | `resume()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface StreamBase` | `exceptionHandler, getDelegate`

- - ### Method Detail

    - #### ReadStream<T> endHandler(io.vertx.core.Handler<java.lang.Void> endHandler)

    - #### ReadStream<T> exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler)

    - #### java.lang.Object getDelegate()

    - #### ReadStream<T> handler(io.vertx.core.Handler<T> handler)

    - #### ReadStream<T> pause()

    - #### ReadStream<T> resume()