public class ShortDecoder extends AbstractDecoder implements javax.websocket.Decoder.Text<java.lang.Short>
Decoder.Text
Message to Short
decoderModifier and Type | Field and Description |
---|---|
static ShortDecoder |
INSTANCE |
Constructor and Description |
---|
ShortDecoder() |
Modifier and Type | Method and Description |
---|---|
java.lang.Short |
decode(java.lang.String s) |
boolean |
willDecode(java.lang.String s) |
destroy, init
public static final ShortDecoder INSTANCE
public java.lang.Short decode(java.lang.String s) throws javax.websocket.DecodeException
decode
in interface javax.websocket.Decoder.Text<java.lang.Short>
javax.websocket.DecodeException
public boolean willDecode(java.lang.String s)
willDecode
in interface javax.websocket.Decoder.Text<java.lang.Short>