jakarta.websocket.Decoder.Text Message to Integer decoder
| Modifier and Type | Field and Description |
|---|---|
| public static final IntegerDecoder |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Integer | decode(String
string to be decoded. s)Implements jakarta. Decode the given String into an object of type T. |
| public boolean | willDecode(String
the string being tested for decodability. s)Implements jakarta. Answer whether the given String can be decoded into an object of type T. |
| INSTANCE | back to summary |
|---|---|
| public static final IntegerDecoder INSTANCE | |
| IntegerDecoder | back to summary |
|---|---|
| public IntegerDecoder() | |
| decode | back to summary |
|---|---|
| public Integer decode(String s) throws DecodeException Implements jakarta. Doc from jakarta. Decode the given String into an object of type T.
| |
| willDecode | back to summary |
|---|---|
| public boolean willDecode(String s) Implements jakarta. Doc from jakarta. Answer whether the given String can be decoded into an object of type T. | |