Uses of Interface
javax.websocket.Encoder
-
Packages that use Encoder Package Description javax.websocket javax.websocket.server -
-
Uses of Encoder in javax.websocket
Subinterfaces of Encoder in javax.websocket Modifier and Type Interface Description static interfaceEncoder.Binary<T>This interface defines how to provide a way to convert a custom object into a binary message.static interfaceEncoder.BinaryStream<T>This interface may be implemented by encoding algorithms that want to write the encoded object to a binary stream.static interfaceEncoder.Text<T>This interface defines how to provide a way to convert a custom object into a text message.static interfaceEncoder.TextStream<T>This interface may be implemented by encoding algorithms that want to write the encoded object to a character stream.Fields in javax.websocket with type parameters of type Encoder Modifier and Type Field Description private java.util.List<java.lang.Class<? extends Encoder>>ClientEndpointConfig.Builder. encodersprivate java.util.List<java.lang.Class<? extends Encoder>>DefaultClientEndpointConfig. encodersMethods in javax.websocket that return types with arguments of type Encoder Modifier and Type Method Description java.lang.Class<? extends Encoder>[]encoders()The array of Java classes that are to act as Encoders for messages sent by the client.java.util.List<java.lang.Class<? extends Encoder>>DefaultClientEndpointConfig. getEncoders()Return the (unmodifiable) list of encoders this client will use.java.util.List<java.lang.Class<? extends Encoder>>EndpointConfig. getEncoders()Return the Encoder implementation classes configured.Method parameters in javax.websocket with type arguments of type Encoder Modifier and Type Method Description ClientEndpointConfig.BuilderClientEndpointConfig.Builder. encoders(java.util.List<java.lang.Class<? extends Encoder>> encoders)Assign the list of encoder implementation classes the client will use. -
Uses of Encoder in javax.websocket.server
Fields in javax.websocket.server with type parameters of type Encoder Modifier and Type Field Description private java.util.List<java.lang.Class<? extends Encoder>>DefaultServerEndpointConfig. encodersprivate java.util.List<java.lang.Class<? extends Encoder>>ServerEndpointConfig.Builder. encodersMethods in javax.websocket.server that return types with arguments of type Encoder Modifier and Type Method Description java.lang.Class<? extends Encoder>[]encoders()The ordered array of encoder classes this endpoint will use.java.util.List<java.lang.Class<? extends Encoder>>DefaultServerEndpointConfig. getEncoders()Return the Encoder implementation classes configured.Method parameters in javax.websocket.server with type arguments of type Encoder Modifier and Type Method Description ServerEndpointConfig.BuilderServerEndpointConfig.Builder. encoders(java.util.List<java.lang.Class<? extends Encoder>> encoders)Sets the list of encoder implementation classes for this builder.
-