| Package | Description |
|---|---|
| javax.websocket |
| 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> |
DefaultServerConfiguration.getDecoders()
Return the Decoder implementations configured.
|
List<Decoder> |
EndpointConfiguration.getDecoders()
Return the Decoder implementations configured, the empty list if none.
|
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.
|
Copyright © 2013. All Rights Reserved.