-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.websocket.Encoder
Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>
-
Method Summary
-
Method Details
-
encode
Encode the given object into a String.- Parameters:
object
- the object being encoded.- Returns:
- the encoded object as a string.
- Throws:
EncodeException
- The provided object could not be encoded as a string
-