Uses of Interface
javax.websocket.Decoder

Packages that use Decoder
javax.websocket This package contains all the WebSocket APIs common to both the client and server side. 
javax.websocket.server This package contains all the WebSocket APIs used only by server side applications. 
 

Uses of Decoder in javax.websocket
 

Subinterfaces of Decoder in javax.websocket
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 javax.websocket that return types with arguments of type Decoder
 List<Class<? extends Decoder>> EndpointConfig.getDecoders()
          Return the Decoder implementation classes configured.
 

Method parameters in javax.websocket with type arguments of type Decoder
 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 javax.websocket.server
 

Method parameters in javax.websocket.server with type arguments of type Decoder
 ServerEndpointConfig.Builder ServerEndpointConfig.Builder.decoders(List<Class<? extends Decoder>> decoders)
          Sets the decoder implementation classes to use in the configuration.
 



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