Package | Description |
---|---|
jakarta.websocket |
This package contains all the Jakartq WebSocket APIs common to both the client and server side.
|
jakarta.websocket.server |
This package contains all the Jakarta WebSocket APIs used only by server side applications.
|
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<Class<? extends Decoder>> |
EndpointConfig.getDecoders()
Return the Decoder implementation classes configured.
|
Modifier and Type | Method and Description |
---|---|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.decoders(List<Class<? extends Decoder>> decoders)
Assign the list of decoder implementation classes the client will use.
|
Modifier and Type | Method and Description |
---|---|
ServerEndpointConfig.Builder |
ServerEndpointConfig.Builder.decoders(List<Class<? extends Decoder>> decoders)
Sets the decoder implementation classes to use in the configuration.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.