Package | Description |
---|---|
javax.websocket |
This package contains all the WebSocket APIs common to both the client
and server side.
|
javax.websocket.server |
This package contains all the WebSocket APIs used only by server side
applications.
|
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<Class<? extends Encoder>> |
EndpointConfig.getEncoders()
Return the Encoder implementation classes configured.
|
Modifier and Type | Method and Description |
---|---|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.encoders(List<Class<? extends Encoder>> encoders)
Assign the list of encoder implementation classes the client will use.
|
Modifier and Type | Method and Description |
---|---|
ServerEndpointConfig.Builder |
ServerEndpointConfig.Builder.encoders(List<Class<? extends Encoder>> encoders)
Sets the list of encoder implementation classes for this builder.
|
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.