Class LongEncoder

java.lang.Object
org.eclipse.jetty.ee8.websocket.javax.common.encoders.AbstractEncoder
org.eclipse.jetty.ee8.websocket.javax.common.encoders.LongEncoder
All Implemented Interfaces:
javax.websocket.Encoder, javax.websocket.Encoder.Text<Long>

public class LongEncoder extends AbstractEncoder implements javax.websocket.Encoder.Text<Long>
Default encoder for Long to Encoder.Text Message encoder
  • Nested Class Summary

    Nested classes/interfaces inherited from interface javax.websocket.Encoder

    javax.websocket.Encoder.Binary<T>, javax.websocket.Encoder.BinaryStream<T>, javax.websocket.Encoder.Text<T>, javax.websocket.Encoder.TextStream<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    encode(Long object)
     

    Methods inherited from class AbstractEncoder

    destroy, init

    Methods inherited from class Object

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

    Methods inherited from interface javax.websocket.Encoder

    destroy, init
  • Constructor Details

    • LongEncoder

      public LongEncoder()
  • Method Details

    • encode

      public String encode(Long object) throws javax.websocket.EncodeException
      Specified by:
      encode in interface javax.websocket.Encoder.Text<Long>
      Throws:
      javax.websocket.EncodeException