java.lang.Object
org.eclipse.jetty.websocket.javax.common.encoders.AbstractEncoder
org.eclipse.jetty.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 extends Object>, javax.websocket.Encoder.BinaryStream<T extends Object>, javax.websocket.Encoder.Text<T extends Object>, javax.websocket.Encoder.TextStream<T extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    encode(Float object)
     

    Methods inherited from class org.eclipse.jetty.websocket.javax.common.encoders.AbstractEncoder

    destroy, init

    Methods inherited from class java.lang.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