Class FloatEncoder

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

public class FloatEncoder extends AbstractEncoder implements javax.websocket.Encoder.Text<Float>
Default encoder for Float 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(Float 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

    • FloatEncoder

      public FloatEncoder()
  • Method Details

    • encode

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