public class ReaderDecoder
extends java.lang.Object
implements javax.websocket.Decoder.TextStream<java.io.Reader>
Constructor and Description |
---|
ReaderDecoder() |
Modifier and Type | Method and Description |
---|---|
java.io.Reader |
decode(java.io.Reader reader) |
void |
destroy() |
void |
init(javax.websocket.EndpointConfig config) |
public java.io.Reader decode(java.io.Reader reader) throws javax.websocket.DecodeException, java.io.IOException
decode
in interface javax.websocket.Decoder.TextStream<java.io.Reader>
javax.websocket.DecodeException
java.io.IOException
public void destroy()
destroy
in interface javax.websocket.Decoder
public void init(javax.websocket.EndpointConfig config)
init
in interface javax.websocket.Decoder