Module org.apache.johnzon.websocket
Class JsrDecoder<T>
- java.lang.Object
- 
- org.apache.johnzon.websocket.internal.jsr.JsrDecoder<T>
 
- 
- All Implemented Interfaces:
- jakarta.websocket.Decoder,- jakarta.websocket.Decoder.TextStream<T>
 - Direct Known Subclasses:
- JsrArrayDecoder,- JsrObjectDecoder,- JsrStructureDecoder
 
 public abstract class JsrDecoder<T> extends java.lang.Object implements jakarta.websocket.Decoder.TextStream<T>
- 
- 
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>
 
- 
 - 
Field SummaryFields Modifier and Type Field Description private jakarta.json.JsonReaderFactoryfactory
 - 
Constructor SummaryConstructors Constructor Description JsrDecoder()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tdecode(java.io.Reader reader)voiddestroy()protected abstract TdoRead(jakarta.json.JsonReader jsonReader)voidinit(jakarta.websocket.EndpointConfig endpointConfig)
 
- 
- 
- 
Method Detail- 
doReadprotected abstract T doRead(jakarta.json.JsonReader jsonReader) 
 - 
initpublic void init(jakarta.websocket.EndpointConfig endpointConfig) - Specified by:
- initin interface- jakarta.websocket.Decoder
 
 - 
decodepublic T decode(java.io.Reader reader) throws jakarta.websocket.DecodeException, java.io.IOException - Specified by:
- decodein interface- jakarta.websocket.Decoder.TextStream<T>
- Throws:
- jakarta.websocket.DecodeException
- java.io.IOException
 
 - 
destroypublic void destroy() - Specified by:
- destroyin interface- jakarta.websocket.Decoder
 
 
- 
 
-