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<Object>
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJohnzonTextDecoder(Type type) JohnzonTextDecoder(org.apache.johnzon.mapper.Mapper mapper, Type type) -
Method Summary
-
Field Details
-
mapper
protected org.apache.johnzon.mapper.Mapper mapper -
type
-
-
Constructor Details
-
JohnzonTextDecoder
public JohnzonTextDecoder() -
JohnzonTextDecoder
-
JohnzonTextDecoder
-
-
Method Details
-
decode
- Specified by:
decodein interfacejakarta.websocket.Decoder.TextStream<Object>- Throws:
jakarta.websocket.DecodeException
-
init
public void init(jakarta.websocket.EndpointConfig endpointConfig) - Specified by:
initin interfacejakarta.websocket.Decoder
-
destroy
public void destroy()- Specified by:
destroyin interfacejakarta.websocket.Decoder
-