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