| Package | Description |
|---|---|
| javax.net.websocket | |
| org.glassfish.tyrus.platform.decoders |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
BinaryDecoderNoOp.decode(ByteBuffer bytes) |
String |
StringDecoderNoOp.decode(String s) |
Short |
ShortDecoder.decode(String s) |
Long |
LongDecoder.decode(String s) |
Integer |
IntegerDecoder.decode(String s) |
Float |
FloatDecoder.decode(String s) |
Double |
DoubleDecoder.decode(String s) |
Character |
CharDecoder.decode(String s) |
Byte |
ByteDecoder.decode(String s) |
Boolean |
BooleanDecoder.decode(String s) |
Copyright © 2012. All Rights Reserved.