Class StringEncoder
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.encoders.AbstractEncoder
-
- org.eclipse.jetty.websocket.jsr356.encoders.StringEncoder
-
- All Implemented Interfaces:
javax.websocket.Encoder
,javax.websocket.Encoder.Text<java.lang.String>
public class StringEncoder extends AbstractEncoder implements javax.websocket.Encoder.Text<java.lang.String>
Default encoder forString
toEncoder.Text
Message encoder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.websocket.Encoder
javax.websocket.Encoder.Binary<T extends java.lang.Object>, javax.websocket.Encoder.BinaryStream<T extends java.lang.Object>, javax.websocket.Encoder.Text<T extends java.lang.Object>, javax.websocket.Encoder.TextStream<T extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description StringEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
encode(java.lang.String object)
-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.encoders.AbstractEncoder
destroy, init
-
-