Uses of Interface
jakarta.websocket.Encoder
Package
Description
This package contains all the Jakarta WebSocket APIs common to both the client and server side.
This package contains all the Jakarta WebSocket APIs used only by server side applications.
Core classes.
Encoder and decoder adapters and built-in implementations.
-
Uses of Encoder in jakarta.websocket
Modifier and TypeInterfaceDescriptionstatic interface
This interface defines how to provide a way to convert a custom object into a binary message.static interface
This interface may be implemented by encoding algorithms that want to write the encoded object to a binary stream.static interface
Encoder.Text<T>
This interface defines how to provide a way to convert a custom object into a text message.static interface
This interface may be implemented by encoding algorithms that want to write the encoded object to a character stream.Modifier and TypeMethodDescriptionEndpointConfig.getEncoders()
Return the Encoder implementation classes configured.Modifier and TypeMethodDescriptionAssign the list of encoder implementation classes the client will use. -
Uses of Encoder in jakarta.websocket.server
Modifier and TypeMethodDescriptionSets the list of encoder implementation classes for this builder. -
Uses of Encoder in org.glassfish.tyrus.core
Modifier and TypeMethodDescriptionSets the list of encoder implementation classes for this builder. -
Uses of Encoder in org.glassfish.tyrus.core.coder
Modifier and TypeClassDescriptionclass
CoderWrapper<T>
Wrapper of coders storing the coder coder class (and optionally coder instance), return type of the encode / decode method and coder class.class
class
class
class
Fall-back encoder - encoders any object to string usingObject.toString()
method.