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 Object
decode(Reader stream)
void
destroy()
void
init(jakarta.websocket.EndpointConfig endpointConfig)
-
-
-
Method Detail
-
decode
public Object decode(Reader stream) throws jakarta.websocket.DecodeException
- Specified by:
decode
in interfacejakarta.websocket.Decoder.TextStream<Object>
- Throws:
jakarta.websocket.DecodeException
-
init
public void init(jakarta.websocket.EndpointConfig endpointConfig)
- Specified by:
init
in interfacejakarta.websocket.Decoder
-
destroy
public void destroy()
- Specified by:
destroy
in interfacejakarta.websocket.Decoder
-
-