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<Object>
 
 public class JsonbTextDecoder extends TypeAwareDecoder implements jakarta.websocket.Decoder.TextStream<Object> 
- 
- 
Constructor SummaryConstructors Constructor Description JsonbTextDecoder()JsonbTextDecoder(jakarta.json.bind.Jsonb jsonb, Type type)JsonbTextDecoder(Type type)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectdecode(Reader stream)voiddestroy()voidinit(jakarta.websocket.EndpointConfig endpointConfig)
 
- 
- 
- 
Field Detail- 
mapperprotected jakarta.json.bind.Jsonb mapper 
 - 
typeprotected Type type 
 
- 
 - 
Method Detail- 
decodepublic Object decode(Reader stream) throws jakarta.websocket.DecodeException - Specified by:
- decodein interface- jakarta.websocket.Decoder.TextStream<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
 
 
- 
 
-