Class ReaderDecoder
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.decoders.ReaderDecoder
-
- All Implemented Interfaces:
javax.websocket.Decoder
,javax.websocket.Decoder.TextStream<java.io.Reader>
public class ReaderDecoder extends java.lang.Object implements javax.websocket.Decoder.TextStream<java.io.Reader>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.websocket.Decoder
javax.websocket.Decoder.Binary<T extends java.lang.Object>, javax.websocket.Decoder.BinaryStream<T extends java.lang.Object>, javax.websocket.Decoder.Text<T extends java.lang.Object>, javax.websocket.Decoder.TextStream<T extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description ReaderDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Reader
decode(java.io.Reader reader)
void
destroy()
void
init(javax.websocket.EndpointConfig config)
-
-
-
Method Detail
-
decode
public java.io.Reader decode(java.io.Reader reader) throws javax.websocket.DecodeException, java.io.IOException
- Specified by:
decode
in interfacejavax.websocket.Decoder.TextStream<java.io.Reader>
- Throws:
javax.websocket.DecodeException
java.io.IOException
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.websocket.Decoder
-
init
public void init(javax.websocket.EndpointConfig config)
- Specified by:
init
in interfacejavax.websocket.Decoder
-
-