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
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
destroy()
Destroy the decoder.default void
init
(EndpointConfig endpointConfig) Initialise the encoder.
-
Method Details
-
init
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.
-