Package: io.vertx.groovy.core.streams

## [Groovy] Interface WriteStream<T>

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

- All Superinterfaces:
    StreamBase

  Represents a stream of data that can be written to.

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

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `WriteStream<T>` | `drainHandler(io.vertx.core.Handler<java.lang.Void> handler)`
    `void` | `end()`
    `void` | `end(T t)`
    `WriteStream<T>` | `exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler)`
    `java.lang.Object` | `getDelegate()`
    `WriteStream<T>` | `setWriteQueueMaxSize(int maxSize)`
    `WriteStream<T>` | `write(T data)`
    `boolean` | `writeQueueFull()`

  - ### Inherited Methods Summary

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

- - ### Method Detail

    - #### WriteStream<T> drainHandler(io.vertx.core.Handler<java.lang.Void> handler)

    - #### void end()

    - #### void end(T t)

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

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

    - #### WriteStream<T> setWriteQueueMaxSize(int maxSize)

    - #### WriteStream<T> write(T data)

    - #### boolean writeQueueFull()