Package | Description |
---|---|
javax.websocket |
This package contains all the WebSocket APIs common to both the client
and server side.
|
Modifier and Type | Method and Description |
---|---|
T |
Decoder.Binary.decode(ByteBuffer bytes)
Decode the given bytes into an object of type T.
|
T |
Decoder.BinaryStream.decode(InputStream is)
Decode the given bytes read from the input stream into an object of type T.
|
T |
Decoder.TextStream.decode(Reader reader)
Reads the websocket message from the implementation provided
Reader and decodes it into an instance of the supplied object type.
|
T |
Decoder.Text.decode(String s)
Decode the given String into an object of type T.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.