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.
 

Methods in javax.websocket that return types with arguments of type Encoder
 List<Encoder> DefaultServerConfiguration.getEncoders()
          Return the Encoder implementations configured.
 List<Encoder> DefaultClientConfiguration.getEncoders()
          Assign the list of encoders this client will use.
 List<Encoder> EndpointConfiguration.getEncoders()
          Return the Encoder implementations configured, the empty list if none.
 

Method parameters in javax.websocket with type arguments of type Encoder
 void Session.setEncoders(List<Encoder> encoders)
          Sets the list of encoders to be used in this session in order of preference.
 DefaultServerConfiguration DefaultServerConfiguration.setEncoders(List<Encoder> encoders)
          Sets all the encoders that this configuration will support.
 ClientEndpointConfiguration DefaultClientConfiguration.setEncoders(List<Encoder> encoders)
          Assign the list of encoders this client will use.
 




Copyright © 2012 Oracle and/or its affiliates. All rights reserved.