Encoder.Text (WebSocket 1.1 API Documentation - Apache Tomcat 9.0.104)
Description: declaration: package: javax.websocket, interface: Encoder, interface: Text

# Interface Encoder.Text<T>

All Superinterfaces:
  `Encoder`

Enclosing interface:
  `Encoder`

public static interface Encoder.Text<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

  Modifier and Type
  Method
  Description
  `String`
  `encode(T object)`

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

  `destroy, init`

- ## Method Details

  - ### encode

    String encode(T object) throws EncodeException
    Throws:
      `EncodeException`