java.lang.Object | |
↳ | com.ning.http.client.websocket.DefaultWebSocketListener |
Default WebSocketListener implementation. Most methods are no-ops. This allows for quick override customization without clutter of methods that the developer isn't interested in dealing with.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
webSocket |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Invoked when the
WebSocket is close.
| |||||||||||
Invoked when the
WebSocket is open.
| |||||||||||
Invoked when bytes of a fragmented message are available.
| |||||||||||
Invoked when WebSocket text fragments are received.
| |||||||||||
Invoked when bytes are available.
| |||||||||||
Invoked when WebSocket text message are received.
| |||||||||||
Invoked when the
WebSocket is open.
| |||||||||||
Invoked when a ping message is received
| |||||||||||
Invoked when a pong message is received
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.ning.http.client.websocket.WebSocketByteListener
| |||||||||||
From interface
com.ning.http.client.websocket.WebSocketListener
| |||||||||||
From interface
com.ning.http.client.websocket.WebSocketPingListener
| |||||||||||
From interface
com.ning.http.client.websocket.WebSocketPongListener
| |||||||||||
From interface
com.ning.http.client.websocket.WebSocketTextListener
|
Invoked when bytes of a fragmented message are available.
fragment | byte[] fragment. |
---|---|
last | if this fragment is the last in the series. |
Invoked when WebSocket text fragments are received.
fragment | text fragment |
---|---|
last | if this fragment is the last of the series. |
Invoked when bytes are available.
message | a byte array. |
---|
Invoked when WebSocket text message are received.
message | a String message |
---|
Invoked when a ping message is received
message | a byte array |
---|
Invoked when a pong message is received
message | a byte array |
---|