javax.net.websocket
Interface Encoder

All Known Subinterfaces:
Encoder.Binary<T>, Encoder.Text<T>
All Known Implementing Classes:
BinaryEncoderNoOp, BooleanEncoder, ByteEncoder, CharEncoder, DoubleEncoder, FloatEncoder, IntegerEncoder, LongEncoder, ShortEncoder, StringEncoderNoOp

public interface Encoder

The Encoder interfaces defines how developers can provide a way to convert their custom objects into web socket messages.

Since:
DRAFT 002
Author:
dannycoward

Nested Class Summary
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.Text<T>
          This interface defines how to provide a way to convert a custom object into a text message.
 



Copyright © 2012. All Rights Reserved.