Package javax.websocket
Interface Decoder.TextStream<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.websocket.Decoder
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tdecode(java.io.Reader reader)Reads the websocket message from the implementation provided Reader and decodes it into an instance of the supplied object type.
-
-
-
Method Detail
-
decode
T decode(java.io.Reader reader) throws DecodeException, java.io.IOException
Reads the websocket message from the implementation provided Reader and decodes it into an instance of the supplied object type.- Parameters:
reader- the reader from which to read the web socket message.- Returns:
- the instance of the object that is the decoded web socket message.
- Throws:
DecodeExceptionjava.io.IOException
-
-