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.org.glassfish.tyrus.core Core classes.org.glassfish.tyrus.core.coder Encoder and decoder adapters and built-in implementations. -
-
Uses of Decoder in jakarta.websocket
Subinterfaces of Decoder in jakarta.websocket Modifier and Type Interface Description static interfaceDecoder.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 interfaceDecoder.BinaryStream<T>This interface defines how a custom object is decoded from a web socket message in the form of a binary stream.static interfaceDecoder.Text<T>This interface defines how a custom object is decoded from a web socket message in the form of a string.static interfaceDecoder.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 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>>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.BuilderClientEndpointConfig.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 org.glassfish.tyrus.core
Methods in org.glassfish.tyrus.core that return types with arguments of type Decoder Modifier and Type Method Description java.util.List<java.lang.Class<? extends Decoder>>ServerEndpointConfigWrapper. getDecoders()Method parameters in org.glassfish.tyrus.core with type arguments of type Decoder Modifier and Type Method Description TyrusServerEndpointConfig.BuilderTyrusServerEndpointConfig.Builder. decoders(java.util.List<java.lang.Class<? extends Decoder>> decoders)Sets the decoder implementation classes to use in the configuration.static MessageHandlerManagerMessageHandlerManager. fromDecoderClasses(java.util.List<java.lang.Class<? extends Decoder>> decoderClasses)Construct manager. -
Uses of Decoder in org.glassfish.tyrus.core.coder
Classes in org.glassfish.tyrus.core.coder that implement Decoder Modifier and Type Class Description classCoderWrapper<T>Wrapper of coders storing the coder coder class (and optionally coder instance), return type of the encode / decode method and coder class.classInputStreamDecoderBuilt inDecoderforInputStream.classNoOpByteArrayCoderclassNoOpByteBufferCoderclassNoOpTextCoderclassPrimitiveDecoders<T>Collection of decoders for all primitive types.static classPrimitiveDecoders.BooleanDecoderstatic classPrimitiveDecoders.ByteDecoderstatic classPrimitiveDecoders.CharacterDecoderstatic classPrimitiveDecoders.DoubleDecoderstatic classPrimitiveDecoders.FloatDecoderstatic classPrimitiveDecoders.IntegerDecoderstatic classPrimitiveDecoders.LongDecoderstatic classPrimitiveDecoders.ShortDecoderclassReaderDecoderBuilt inDecoderforReader.Fields in org.glassfish.tyrus.core.coder with type parameters of type Decoder Modifier and Type Field Description static java.util.List<java.lang.Class<? extends Decoder>>PrimitiveDecoders. ALL
-