Decoder (WebSocket 1.1 API Documentation - Apache Tomcat 9.0.83)
Description: declaration: package: javax.websocket, interface: Decoder

Package javax.websocket

# Interface Decoder

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

public interface Decoder

- ## Nested Class Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `destroy()`
  Destroy the decoder.
  `void`
  `init(EndpointConfig endpointConfig)`
  Initialise the decoder.

- ## Method Details

  - ### init

    void init(EndpointConfig endpointConfig)
    Initialise the decoder.
    Parameters:
      `endpointConfig` - The end-point configuration

  - ### destroy

    void destroy()
    Destroy the decoder.