| Package | Description |
|---|---|
| javax.net.websocket | |
| org.glassfish.tyrus.platform | |
| org.glassfish.tyrus.platform.encoders |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Encoder.Binary<T>
This interface defines how to provide a way to convert a custom
object into a binary message.
|
static interface |
Encoder.BinaryStream<T>
This interface may be implemented by encoding algorithms
that want to write the encoded object to a binary stream.
|
static interface |
Encoder.Text<T>
This interface defines how to provide a way to convert a custom
object into a text message.
|
static interface |
Encoder.TextStream<T>
This interface may be implemented by encoding algorithms
that want to write the encoded object to a character stream.
|
| Modifier and Type | Method and Description |
|---|---|
List<Encoder> |
EndpointConfiguration.getEncoders()
Return the Encoder implementations configured.
|
List<Encoder> |
DefaultServerConfiguration.getEncoders()
Return the Decoder implementations configured.
|
List<Encoder> |
DefaultClientConfiguration.getEncoders()
Assign the list of encoders this client will use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Session.setEncoders(List<Encoder> encoders)
Sets the list of encoders to be used in this session in order of preference.
|
DefaultServerConfiguration |
DefaultServerConfiguration.setEncoders(List<Encoder> encoders) |
ClientEndpointConfiguration |
DefaultClientConfiguration.setEncoders(List<Encoder> encoders)
Assign the list of encoders this client will use.
|
| Modifier and Type | Method and Description |
|---|---|
List<Encoder> |
Model.getEncoders() |
List<Encoder> |
DefaultEndpointConfiguration.getEncoders() |
| Modifier and Type | Method and Description |
|---|---|
void |
SessionImpl.setEncoders(List<Encoder> encoders) |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryEncoderNoOp |
class |
BooleanEncoder |
class |
ByteEncoder |
class |
CharEncoder |
class |
DoubleEncoder |
class |
FloatEncoder |
class |
IntegerEncoder |
class |
LongEncoder |
class |
ShortEncoder |
class |
StringEncoderNoOp |
Copyright © 2012. All Rights Reserved.