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
IOException
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.