Class JohnzonTextDecoder
- java.lang.Object
-
- org.apache.johnzon.websocket.mapper.JohnzonTextDecoder
-
-
Constructor Summary
Constructors Constructor Description JohnzonTextDecoder()JohnzonTextDecoder(Type type)JohnzonTextDecoder(Mapper mapper, Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectdecode(Reader stream)voiddestroy()voidinit(jakarta.websocket.EndpointConfig endpointConfig)
-
-
-
Method Detail
-
decode
public Object decode(Reader stream) throws jakarta.websocket.DecodeException
- 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
-
-