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

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

  • Constructor Details

    • ShortDecoder

      public ShortDecoder()
  • Method Details

    • decode

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

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