Package | Description |
---|---|
javax.websocket |
Modifier and Type | Method | 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.Text.decode(String s) |
Decode the given String 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.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.