java.lang.Object
org.eclipse.jetty.ee10.websocket.jakarta.common.encoders.AbstractEncoder
org.eclipse.jetty.ee10.websocket.jakarta.common.encoders.ShortEncoder
All Implemented Interfaces:
jakarta.websocket.Encoder, jakarta.websocket.Encoder.Text<Short>

public class ShortEncoder extends AbstractEncoder implements jakarta.websocket.Encoder.Text<Short>
Default encoder for Short to Encoder.Text Message encoder
  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from interface jakarta.websocket.Encoder Link icon

    jakarta.websocket.Encoder.Binary<T>, jakarta.websocket.Encoder.BinaryStream<T>, jakarta.websocket.Encoder.Text<T>, jakarta.websocket.Encoder.TextStream<T>
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    encode(Short object)
     

    Methods inherited from class org.eclipse.jetty.ee10.websocket.jakarta.common.encoders.AbstractEncoder Link icon

    destroy, init

    Methods inherited from class java.lang.Object Link icon

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

    Methods inherited from interface jakarta.websocket.Encoder Link icon

    destroy, init
  • Constructor Details Link icon

    • ShortEncoder Link icon

      public ShortEncoder()
  • Method Details Link icon

    • encode Link icon

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