Package | Description |
---|---|
jakarta.websocket |
This package contains all the Jakartq WebSocket APIs common to both the client and server side.
|
org.glassfish.tyrus.core.coder |
Encoder and decoder adapters and built-in implementations.
|
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.
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
InputStreamDecoder.decode(java.nio.ByteBuffer bytes) |
byte[] |
NoOpByteArrayCoder.decode(java.nio.ByteBuffer bytes) |
java.nio.ByteBuffer |
NoOpByteBufferCoder.decode(java.nio.ByteBuffer bytes) |
java.lang.String |
NoOpTextCoder.decode(java.lang.String s) |
java.lang.Boolean |
PrimitiveDecoders.BooleanDecoder.decode(java.lang.String s) |
java.lang.Byte |
PrimitiveDecoders.ByteDecoder.decode(java.lang.String s) |
java.lang.Character |
PrimitiveDecoders.CharacterDecoder.decode(java.lang.String s) |
java.lang.Double |
PrimitiveDecoders.DoubleDecoder.decode(java.lang.String s) |
java.lang.Float |
PrimitiveDecoders.FloatDecoder.decode(java.lang.String s) |
java.lang.Integer |
PrimitiveDecoders.IntegerDecoder.decode(java.lang.String s) |
java.lang.Long |
PrimitiveDecoders.LongDecoder.decode(java.lang.String s) |
java.lang.Short |
PrimitiveDecoders.ShortDecoder.decode(java.lang.String s) |
java.io.Reader |
ReaderDecoder.decode(java.lang.String s) |
Copyright © 2012–2020 Oracle Corporation. All rights reserved.