Encoder.TextStream (WebSocket 1.1 API Documentation - Apache Tomcat 9.0.37)

javax.websocket

## Interface Encoder.TextStream<T>

- All Superinterfaces:
    Encoder
  Enclosing interface:
    Encoder

      public static interface Encoder.TextStream<T>
      extends Encoder

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface javax.websocket.Encoder

      `Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `encode(T object, java.io.Writer writer)`

    - ### Methods inherited from interface javax.websocket.Encoder

      `destroy, init`

- - ### Method Detail

    - #### encode

          void encode(T object,
                      java.io.Writer writer)
               throws EncodeException,
                      java.io.IOException

      Throws:
        `EncodeException`
        `java.io.IOException`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.