T
- The type of the object that is decodedpublic static interface Decoder.TextStream<T> extends Decoder
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
Modifier and Type | Method and Description |
---|---|
T |
decode(Reader reader)
Reads the websocket message from the implementation provided Reader and decodes it into an instance of the
supplied object type.
|
T decode(Reader reader) throws DecodeException, IOException
reader
- the reader from which to read the web socket message.DecodeException
- If the data from the provided reader cannot be decoded to type TIOException
- If an error occurs reading from the readerCopyright © 2019 Eclipse Foundation
Use is subject to license terms.