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

public class CharacterDecoder extends AbstractDecoder implements jakarta.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 jakarta.websocket.DecodeException
      Specified by:
      decode in interface jakarta.websocket.Decoder.Text<Character>
      Throws:
      jakarta.websocket.DecodeException
    • willDecode

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