Class BooleanDecoder
java.lang.Object
org.eclipse.jetty.ee10.websocket.jakarta.common.decoders.AbstractDecoder
org.eclipse.jetty.ee10.websocket.jakarta.common.decoders.BooleanDecoder
- All Implemented Interfaces:
jakarta.websocket.Decoder
,jakarta.websocket.Decoder.Text<Boolean>
public class BooleanDecoder
extends AbstractDecoder
implements jakarta.websocket.Decoder.Text<Boolean>
Default implementation of the
Decoder.Text
Message to Boolean
decoder.
Note: delegates to Boolean.parseBoolean(String)
and will only support "true" and "false" as boolean values.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.ee10.websocket.jakarta.common.decoders.AbstractDecoder
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.Decoder
destroy, init
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BooleanDecoder
public BooleanDecoder()
-
-
Method Details