|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Encoder | |
|---|---|
| javax.websocket | |
| org.glassfish.tyrus | |
| Uses of Encoder in javax.websocket |
|---|
| Subinterfaces of Encoder in javax.websocket | |
|---|---|
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. |
| Methods in javax.websocket that return types with arguments of type Encoder | |
|---|---|
List<Encoder> |
EndpointConfiguration.getEncoders()
Return the Encoder implementations configured, the empty list if none. |
List<Encoder> |
DefaultServerConfiguration.getEncoders()
Return the Encoder implementations configured. |
List<Encoder> |
DefaultClientConfiguration.getEncoders()
Assign the list of encoders this client will use. |
| Method parameters in javax.websocket with type arguments of type Encoder | |
|---|---|
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)
Sets all the encoders that this configuration will support. |
ClientEndpointConfiguration |
DefaultClientConfiguration.setEncoders(List<Encoder> encoders)
Assign the list of encoders this client will use. |
| Uses of Encoder in org.glassfish.tyrus |
|---|
| Classes in org.glassfish.tyrus that implement Encoder | |
|---|---|
class |
NoOpBinaryCoder
|
class |
NoOpTextCoder
|
class |
ToStringEncoder
Fall-back encoder - encoders any object to string using Object.toString() method. |
| Fields in org.glassfish.tyrus with type parameters of type Encoder | |
|---|---|
protected List<Encoder> |
DefaultEndpointConfiguration.Builder.encoders
|
| Methods in org.glassfish.tyrus that return types with arguments of type Encoder | |
|---|---|
List<Encoder> |
DefaultEndpointConfiguration.getEncoders()
Encoders used to encode messages. |
| Method parameters in org.glassfish.tyrus with type arguments of type Encoder | |
|---|---|
T |
DefaultEndpointConfiguration.Builder.encoders(List<Encoder> encoders)
Set encoders. |
void |
SessionImpl.setEncoders(List<Encoder> encoders)
|
| Constructor parameters in org.glassfish.tyrus with type arguments of type Encoder | |
|---|---|
DefaultEndpointConfiguration(List<Encoder> encoders,
List<Decoder> decoders,
List<String> subprotocols,
List<String> extensions)
|
|
DefaultServerEndpointConfiguration(String uri,
List<Encoder> encoders,
List<Decoder> decoders,
List<String> subprotocols,
List<String> extensions,
List<String> origins)
Creates new configuration for Endpoint which is used on the server side. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||