Package jakarta.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 interfaceEncoder.Binary<T>static interfaceEncoder.BinaryStream<T>static interfaceEncoder.Text<T>static interfaceEncoder.TextStream<T>
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voiddestroy()Destroy the decoder.default voidinit(EndpointConfig endpointConfig)Initialise the encoder.
-
-
-
Method Detail
-
init
default void init(EndpointConfig endpointConfig)
Initialise the encoder. The default implementation is a NO-OP.- Parameters:
endpointConfig- The end-point configuration
-
destroy
default void destroy()
Destroy the decoder. The default implementation is a NO-OP.
-
-