Class LongDecoder

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

public class LongDecoder extends AbstractDecoder implements jakarta.websocket.Decoder.Text<Long>
Default implementation of the Text Message to Long decoder
  • Nested Class Summary

    Nested classes/interfaces inherited from interface jakarta.websocket.Decoder

    jakarta.websocket.Decoder.Binary<T>, jakarta.websocket.Decoder.BinaryStream<T>, jakarta.websocket.Decoder.Text<T>, jakarta.websocket.Decoder.TextStream<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final LongDecoder
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     

    Methods inherited from class AbstractDecoder

    destroy, init

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.websocket.Decoder

    destroy, init
  • Field Details

  • Constructor Details

    • LongDecoder

      public LongDecoder()
  • Method Details

    • decode

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

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