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 Object
implements jakarta.websocket.Decoder.TextStream<T>
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
factory
private jakarta.json.JsonReaderFactory factory
-
-
Constructor Details
-
JsrDecoder
public JsrDecoder()
-
-
Method Details
-
doRead
-
init
public void init(jakarta.websocket.EndpointConfig endpointConfig) - Specified by:
initin interfacejakarta.websocket.Decoder
-
decode
- Specified by:
decodein interfacejakarta.websocket.Decoder.TextStream<T>- Throws:
jakarta.websocket.DecodeExceptionIOException
-
destroy
public void destroy()- Specified by:
destroyin interfacejakarta.websocket.Decoder
-