Class CharacterDecoder

java.lang.Object
org.eclipse.jetty.websocket.javax.common.decoders.AbstractDecoder
org.eclipse.jetty.websocket.javax.common.decoders.CharacterDecoder
All Implemented Interfaces:
javax.websocket.Decoder, javax.websocket.Decoder.Text<Character>

public class CharacterDecoder extends AbstractDecoder implements javax.websocket.Decoder.Text<Character>
Default implementation of the Decoder.Text Message to Character decoder
  • Field Details

  • Constructor Details

    • CharacterDecoder

      public CharacterDecoder()
  • Method Details

    • decode

      public Character decode(String s) throws javax.websocket.DecodeException
      Specified by:
      decode in interface javax.websocket.Decoder.Text<Character>
      Throws:
      javax.websocket.DecodeException
    • willDecode

      public boolean willDecode(String s)
      Specified by:
      willDecode in interface javax.websocket.Decoder.Text<Character>