Package | Description |
---|---|
javax.websocket |
Modifier and Type | Method and Description |
---|---|
T |
Decoder.Binary.decode(java.nio.ByteBuffer bytes)
Decode the given bytes into an object of type T.
|
T |
Decoder.BinaryStream.decode(java.io.InputStream is)
Decode the given bytes read from the input stream into an object of type T.
|
T |
Decoder.TextStream.decode(java.io.Reader reader)
Reads the websocket message from the implementation provided
Reader and decodes it into an instance of the supplied object type.
|
T |
Decoder.Text.decode(java.lang.String s)
Decode the given String into an object of type T.
|