| Package | Description |
|---|---|
| javax.websocket |
| 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> |
DefaultServerConfiguration.getEncoders()
Return the Encoder implementations configured.
|
List<Encoder> |
EndpointConfiguration.getEncoders()
Return the Encoder implementations configured, the empty list if none.
|
List<Encoder> |
DefaultClientConfiguration.getEncoders()
Assign the list of encoders this client will use.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultServerConfiguration |
DefaultServerConfiguration.setEncoders(List<Encoder> encoders)
Sets all the encoders that this configuration will support.
|
ClientEndpointConfiguration |
DefaultClientConfiguration.setEncoders(List<Encoder> encoders)
Assign the list of encoders this client will use.
|
void |
Session.setEncoders(List<Encoder> encoders)
Sets the list of encoders to be used in this session in order of preference.
|
Copyright © 2013. All Rights Reserved.