Class JsonValueDecoder

  • All Implemented Interfaces:
    javax.websocket.Decoder, javax.websocket.Decoder.TextStream<JsonValue>

    public final class JsonValueDecoder
    extends Object
    implements javax.websocket.Decoder.TextStream<JsonValue>
    Transforms the subscription and notification response JSON content to a JsonValue instance.
    • Constructor Detail

      • JsonValueDecoder

        public JsonValueDecoder()
    • Method Detail

      • init

        public void init​(javax.websocket.EndpointConfig endpointConfig)
        Specified by:
        init in interface javax.websocket.Decoder
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.websocket.Decoder