Package | Description |
---|---|
jakarta.websocket |
This package contains all the Jakartq WebSocket APIs common to both the client and server side.
|
Modifier and Type | Method and Description |
---|---|
T |
Decoder.Binary.decode(ByteBuffer bytes)
Decode the given bytes into an object of type T.
|
T |
Decoder.BinaryStream.decode(InputStream is)
Decode the given bytes read from the input stream into an object of type T.
|
T |
Decoder.TextStream.decode(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(String s)
Decode the given String into an object of type T.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.