Class IntegerEncoder
java.lang.Object
org.eclipse.jetty.websocket.javax.common.encoders.AbstractEncoder
org.eclipse.jetty.websocket.javax.common.encoders.IntegerEncoder
- All Implemented Interfaces:
javax.websocket.Encoder
,javax.websocket.Encoder.Text<Integer>
public class IntegerEncoder
extends AbstractEncoder
implements javax.websocket.Encoder.Text<Integer>
Default encoder for
Integer
to Encoder.Text
Message encoder-
Nested Class Summary
-
Constructor Summary
-
Method Summary
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
-
IntegerEncoder
public IntegerEncoder()
-
-
Method Details
-
encode
- Specified by:
encode
in interfacejavax.websocket.Encoder.Text<Integer>
- Throws:
javax.websocket.EncodeException
-