Class BooleanDecoder
java.lang.Object
org.eclipse.jetty.websocket.javax.common.decoders.AbstractDecoder
org.eclipse.jetty.websocket.javax.common.decoders.BooleanDecoder
- All Implemented Interfaces:
javax.websocket.Decoder
,javax.websocket.Decoder.Text<Boolean>
public class BooleanDecoder
extends AbstractDecoder
implements javax.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.websocket.javax.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 javax.websocket.Decoder
destroy, init
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BooleanDecoder
public BooleanDecoder()
-
-
Method Details