Class BooleanEncoder
java.lang.Object
org.eclipse.jetty.ee10.websocket.jakarta.common.encoders.AbstractEncoder
org.eclipse.jetty.ee10.websocket.jakarta.common.encoders.BooleanEncoder
- All Implemented Interfaces:
jakarta.websocket.Encoder
,jakarta.websocket.Encoder.Text<Boolean>
public class BooleanEncoder
extends AbstractEncoder
implements jakarta.websocket.Encoder.Text<Boolean>
Default encoder for
Boolean
to Encoder.Text
Message encoder-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.ee10.websocket.jakarta.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 jakarta.websocket.Encoder
destroy, init
-
Constructor Details
-
BooleanEncoder
public BooleanEncoder()
-
-
Method Details
-
encode
- Specified by:
encode
in interfacejakarta.websocket.Encoder.Text<Boolean>
- Throws:
jakarta.websocket.EncodeException
-