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 SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interfacestatic interface
- 
Method SummaryModifier and TypeMethodDescriptiondefault voiddestroy()Destroy the decoder.default voidinit(EndpointConfig endpointConfig) Initialise the encoder.
- 
Method Details- 
initInitialise the encoder. The default implementation is a NO-OP.- Parameters:
- endpointConfig- The end-point configuration
 
- 
destroydefault void destroy()Destroy the decoder. The default implementation is a NO-OP.
 
-