Module org.apache.johnzon.websocket
Class JohnzonTextDecoder
- java.lang.Object
- 
- org.apache.johnzon.websocket.mapper.JohnzonTextDecoder
 
- 
- All Implemented Interfaces:
- jakarta.websocket.Decoder,- jakarta.websocket.Decoder.TextStream<java.lang.Object>
 
 public class JohnzonTextDecoder extends java.lang.Object implements jakarta.websocket.Decoder.TextStream<java.lang.Object>
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface jakarta.websocket.Decoderjakarta.websocket.Decoder.Binary<T extends java.lang.Object>, jakarta.websocket.Decoder.BinaryStream<T extends java.lang.Object>, jakarta.websocket.Decoder.Text<T extends java.lang.Object>, jakarta.websocket.Decoder.TextStream<T extends java.lang.Object>
 
- 
 - 
Constructor SummaryConstructors Constructor Description JohnzonTextDecoder()JohnzonTextDecoder(java.lang.reflect.Type type)JohnzonTextDecoder(org.apache.johnzon.mapper.Mapper mapper, java.lang.reflect.Type type)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectdecode(java.io.Reader stream)voiddestroy()voidinit(jakarta.websocket.EndpointConfig endpointConfig)
 
- 
- 
- 
Method Detail- 
decodepublic java.lang.Object decode(java.io.Reader stream) throws jakarta.websocket.DecodeException- Specified by:
- decodein interface- jakarta.websocket.Decoder.TextStream<java.lang.Object>
- Throws:
- jakarta.websocket.DecodeException
 
 - 
initpublic void init(jakarta.websocket.EndpointConfig endpointConfig) - Specified by:
- initin interface- jakarta.websocket.Decoder
 
 - 
destroypublic void destroy() - Specified by:
- destroyin interface- jakarta.websocket.Decoder
 
 
- 
 
-