Module org.apache.johnzon.websocket
Class JsonbTextDecoder
- java.lang.Object
- 
- org.apache.johnzon.websocket.internal.TypeAwareDecoder
- 
- org.apache.johnzon.websocket.jsonb.JsonbTextDecoder
 
 
- 
- All Implemented Interfaces:
- jakarta.websocket.Decoder,- jakarta.websocket.Decoder.TextStream<java.lang.Object>
 
 public class JsonbTextDecoder extends TypeAwareDecoder 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 JsonbTextDecoder()JsonbTextDecoder(jakarta.json.bind.Jsonb jsonb, java.lang.reflect.Type type)JsonbTextDecoder(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
- Overrides:
- initin class- TypeAwareDecoder
 
 - 
destroypublic void destroy() - Specified by:
- destroyin interface- jakarta.websocket.Decoder
 
 
- 
 
-