T - the type of the object this encoder can encode.public static interface Encoder.TextStream<T> extends Encoder
Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>void encode(T object, Writer writer) throws EncodeException, IOException
object - - the object to be encodedwriter - - the writer provided by the web socket runtime to write the encoded dataEncodeExceptionIOExceptionCopyright © 2013. All Rights Reserved.