Class JohnzonTextDecoder
- java.lang.Object
-
- org.apache.johnzon.websocket.mapper.JohnzonTextDecoder
-
- All Implemented Interfaces:
javax.websocket.Decoder
,javax.websocket.Decoder.TextStream<java.lang.Object>
public class JohnzonTextDecoder extends java.lang.Object implements javax.websocket.Decoder.TextStream<java.lang.Object>
-
-
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 JohnzonTextDecoder()
JohnzonTextDecoder(java.lang.reflect.Type type)
JohnzonTextDecoder(org.apache.johnzon.mapper.Mapper mapper, java.lang.reflect.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
decode(java.io.Reader stream)
void
destroy()
void
init(javax.websocket.EndpointConfig endpointConfig)
-
-
-
Method Detail
-
decode
public java.lang.Object decode(java.io.Reader stream) throws javax.websocket.DecodeException
- Specified by:
decode
in interfacejavax.websocket.Decoder.TextStream<java.lang.Object>
- Throws:
javax.websocket.DecodeException
-
init
public void init(javax.websocket.EndpointConfig endpointConfig)
- Specified by:
init
in interfacejavax.websocket.Decoder
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejavax.websocket.Decoder
-
-