| java.lang.Object | |
| ↳ | com.ning.http.client.providers.netty.NettyWebSocket |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add a
WebSocketListener | |||||||||||
Close the WebSocket.
| |||||||||||
Returns
true if the WebSocket is open/connected. | |||||||||||
Send a byte message.
| |||||||||||
Send a
ping with an optional payload
(limited to 125 bytes or less). | |||||||||||
Send a
ping with an optional payload
(limited to 125 bytes or less). | |||||||||||
Send a text message
| |||||||||||
Allows streaming of multiple binary fragments.
| |||||||||||
Allows streaming of multiple binary fragments.
| |||||||||||
Allows streaming of multiple text fragments.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.ning.http.client.websocket.WebSocket
| |||||||||||
Close the WebSocket.
Returns true if the WebSocket is open/connected.
true if the WebSocket is open/connected.
Send a byte message.
| message | a byte message |
|---|
Send a ping with an optional payload
(limited to 125 bytes or less).
| payload | the ping payload. |
|---|
Send a ping with an optional payload
(limited to 125 bytes or less).
| payload | the pong payload. |
|---|
Send a text message
| message | a text message |
|---|
Allows streaming of multiple binary fragments.
| fragment | binary fragment. |
|---|---|
| last | flag indicating whether or not this is the last fragment. |
Allows streaming of multiple binary fragments.
| fragment | binary fragment. |
|---|---|
| offset | starting offset. |
| len | length. |
| last | flag indicating whether or not this is the last fragment. |
Allows streaming of multiple text fragments.
| fragment | text fragment. |
|---|---|
| last | flag indicating whether or not this is the last fragment. |