Encoder (WebSocket 1.1 API Documentation - Apache Tomcat 8.5.85)

Package javax.websocket

## Interface Encoder

- All Known Subinterfaces:
    `Encoder.Binary<T>`, `Encoder.BinaryStream<T>`, `Encoder.Text<T>`, `Encoder.TextStream<T>`

      public interface Encoder

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface | Description
    --- | --- | ---
    `static interface` | `Encoder.Binary<T>` |
    `static interface` | `Encoder.BinaryStream<T>` |
    `static interface` | `Encoder.Text<T>` |
    `static interface` | `Encoder.TextStream<T>` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `destroy()` |
    `void` | `init​(EndpointConfig endpointConfig)` |

- - ### Method Detail

    - #### init

          void init​(EndpointConfig endpointConfig)

    - #### destroy

          void destroy()