Uses of Interface
javax.websocket.Encoder

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.
 

Classes in javax.websocket that implement Encoder
static class Encoder.Adapter
          A convenience class for developers who do not wish to provide any special behavior in the init() or destroy() methods.
 

Methods in javax.websocket that return types with arguments of type Encoder
 List<Class<? extends Encoder>> EndpointConfig.getEncoders()
          Return the Encoder implementation classes configured.
 

Method parameters in javax.websocket with type arguments of type Encoder
 ClientEndpointConfig.Builder ClientEndpointConfig.Builder.encoders(List<Class<? extends Encoder>> encoders)
          Assign the list of encoder implementation classes the client will use.
 



Copyright © 2012-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Comments to : users@websocket-spec.java.net