| Package | Description |
|---|---|
| javax.net.websocket | |
| org.glassfish.tyrus.platform | |
| org.glassfish.tyrus.platform.decoders |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Decoder.Binary<T>
This interface defines how a custom object (of type T) is decoded from a web socket message in
the form of a byte buffer.
|
static interface |
Decoder.BinaryStream<T>
This interface defines how a custom object is decoded from a web socket message in
the form of a binary stream.
|
static interface |
Decoder.Text<T>
This interface defines how a custom object is decoded from a web socket message in
the form of a string.
|
static interface |
Decoder.TextStream<T>
This interface defines how a custom object of type T is decoded from a web socket message in
the form of a character stream.
|
| Modifier and Type | Method and Description |
|---|---|
List<Decoder> |
EndpointConfiguration.getDecoders()
Return the Decoder implementations configured.
|
List<Decoder> |
DefaultServerConfiguration.getDecoders()
Return the Decoder implementations configured.
|
List<Decoder> |
DefaultClientConfiguration.getDecoders()
Assign the list of decoders this client will use.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultServerConfiguration |
DefaultServerConfiguration.setDecoders(List<Decoder> decoders)
Sets all the decoders that this configuration will support.
|
ClientEndpointConfiguration |
DefaultClientConfiguration.setDecoders(List<Decoder> decoders)
Assign the list of decoders this client will use.
|
| Modifier and Type | Method and Description |
|---|---|
List<Decoder> |
Model.getDecoders() |
List<Decoder> |
DefaultEndpointConfiguration.getDecoders() |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryDecoderNoOp |
class |
BooleanDecoder
Used to decode Boolean
|
class |
ByteDecoder |
class |
CharDecoder |
class |
DoubleDecoder |
class |
FloatDecoder |
class |
IntegerDecoder |
class |
LongDecoder |
class |
ShortDecoder |
class |
StringDecoderNoOp |
Copyright © 2012. All Rights Reserved.