Uses of Interface
javax.websocket.Decoder
-
Packages that use Decoder Package Description javax.websocket javax.websocket.server -
-
Uses of Decoder in javax.websocket
Subinterfaces of Decoder in javax.websocket Modifier and Type Interface 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.Fields in javax.websocket with type parameters of type Decoder Modifier and Type Field Description private java.util.List<java.lang.Class<? extends Decoder>>
ClientEndpointConfig.Builder. decoders
private java.util.List<java.lang.Class<? extends Decoder>>
DefaultClientEndpointConfig. decoders
Methods in javax.websocket that return types with arguments of type Decoder Modifier and Type Method Description java.lang.Class<? extends Decoder>[]
decoders()
The array of Java classes that are to act as Decoders for messages coming into the client.java.util.List<java.lang.Class<? extends Decoder>>
DefaultClientEndpointConfig. getDecoders()
Return the (unmodifiable) list of decoders this client will use.java.util.List<java.lang.Class<? extends Decoder>>
EndpointConfig. getDecoders()
Return the Decoder implementation classes configured.Method parameters in javax.websocket with type arguments of type Decoder Modifier and Type Method Description ClientEndpointConfig.Builder
ClientEndpointConfig.Builder. decoders(java.util.List<java.lang.Class<? extends Decoder>> decoders)
Assign the list of decoder implementation classes the client will use. -
Uses of Decoder in javax.websocket.server
Fields in javax.websocket.server with type parameters of type Decoder Modifier and Type Field Description private java.util.List<java.lang.Class<? extends Decoder>>
DefaultServerEndpointConfig. decoders
private java.util.List<java.lang.Class<? extends Decoder>>
ServerEndpointConfig.Builder. decoders
Methods in javax.websocket.server that return types with arguments of type Decoder Modifier and Type Method Description java.lang.Class<? extends Decoder>[]
decoders()
The ordered array of decoder classes this endpoint will use.java.util.List<java.lang.Class<? extends Decoder>>
DefaultServerEndpointConfig. getDecoders()
Return the Decoder implementation classes configured.Method parameters in javax.websocket.server with type arguments of type Decoder Modifier and Type Method Description ServerEndpointConfig.Builder
ServerEndpointConfig.Builder. decoders(java.util.List<java.lang.Class<? extends Decoder>> decoders)
Sets the decoder implementation classes to use in the configuration.
-