void |
WebSocketCallback.complete(WebSocketChannel channel,
T context) |
|
static void |
WebSocketUtils.echoFrame(WebSocketChannel channel,
StreamSourceFrameChannel ws) |
Echo back the frame to the sender
|
void |
AbstractReceiveListener.handleEvent(WebSocketChannel channel) |
|
protected void |
AbstractReceiveListener.onBinary(WebSocketChannel webSocketChannel,
StreamSourceFrameChannel messageChannel) |
|
protected void |
AbstractReceiveListener.onClose(WebSocketChannel webSocketChannel,
StreamSourceFrameChannel channel) |
|
protected void |
AbstractReceiveListener.onCloseMessage(CloseMessage cm,
WebSocketChannel channel) |
|
protected void |
AbstractReceiveListener.onError(WebSocketChannel channel,
Throwable error) |
|
void |
WebSocketCallback.onError(WebSocketChannel channel,
T context,
Throwable throwable) |
|
protected void |
AbstractReceiveListener.onFullBinaryMessage(WebSocketChannel channel,
BufferedBinaryMessage message) |
|
protected void |
AbstractReceiveListener.onFullCloseMessage(WebSocketChannel channel,
BufferedBinaryMessage message) |
|
protected void |
AbstractReceiveListener.onFullPingMessage(WebSocketChannel channel,
BufferedBinaryMessage message) |
|
protected void |
AbstractReceiveListener.onFullPongMessage(WebSocketChannel channel,
BufferedBinaryMessage message) |
|
protected void |
AbstractReceiveListener.onFullTextMessage(WebSocketChannel channel,
BufferedTextMessage message) |
|
protected void |
AbstractReceiveListener.onPing(WebSocketChannel webSocketChannel,
StreamSourceFrameChannel channel) |
|
protected void |
AbstractReceiveListener.onPong(WebSocketChannel webSocketChannel,
StreamSourceFrameChannel messageChannel) |
|
protected void |
AbstractReceiveListener.onText(WebSocketChannel webSocketChannel,
StreamSourceFrameChannel messageChannel) |
|
static void |
WebSockets.sendBinary(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete binary message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendBinary(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete binary message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static <T> void |
WebSockets.sendBinary(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete binary message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static <T> void |
WebSockets.sendBinary(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete binary message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendBinary(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete binary message, invoking the callback when complete
|
static void |
WebSockets.sendBinary(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete binary message, invoking the callback when complete
|
static <T> void |
WebSockets.sendBinary(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete binary message, invoking the callback when complete
|
static <T> void |
WebSockets.sendBinary(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete binary message, invoking the callback when complete
|
static void |
WebSockets.sendBinary(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete binary message, invoking the callback when complete
|
static void |
WebSockets.sendBinary(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete binary message, invoking the callback when complete
|
static <T> void |
WebSockets.sendBinary(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete binary message, invoking the callback when complete
|
static <T> void |
WebSockets.sendBinary(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete binary message, invoking the callback when complete
|
static void |
WebSockets.sendBinaryBlocking(PooledByteBuffer pooledData,
WebSocketChannel wsChannel) |
Sends a complete binary message using blocking IO
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendBinaryBlocking(ByteBuffer[] data,
WebSocketChannel wsChannel) |
Sends a complete binary message using blocking IO
|
static void |
WebSockets.sendBinaryBlocking(ByteBuffer data,
WebSocketChannel wsChannel) |
Sends a complete binary message using blocking IO
|
static void |
WebSockets.sendClose(int code,
String reason,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete close message, invoking the callback when complete
|
static <T> void |
WebSockets.sendClose(int code,
String reason,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendClose(CloseMessage closeMessage,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete close message, invoking the callback when complete
|
static <T> void |
WebSockets.sendClose(CloseMessage closeMessage,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendClose(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete close message, invoking the callback when complete
|
static <T> void |
WebSockets.sendClose(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendClose(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete close message, invoking the callback when complete
|
static <T> void |
WebSockets.sendClose(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendCloseBlocking(int code,
String reason,
WebSocketChannel wsChannel) |
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendCloseBlocking(CloseMessage closeMessage,
WebSocketChannel wsChannel) |
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendCloseBlocking(ByteBuffer[] data,
WebSocketChannel wsChannel) |
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendCloseBlocking(ByteBuffer data,
WebSocketChannel wsChannel) |
Sends a complete close message, invoking the callback when complete
|
static void |
WebSockets.sendPing(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete ping message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendPing(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete ping message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static <T> void |
WebSockets.sendPing(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete ping message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static <T> void |
WebSockets.sendPing(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete ping message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendPing(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete ping message, invoking the callback when complete
|
static void |
WebSockets.sendPing(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete ping message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPing(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete ping message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPing(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete ping message, invoking the callback when complete
|
static void |
WebSockets.sendPing(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete ping message, invoking the callback when complete
|
static void |
WebSockets.sendPing(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete ping message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPing(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete ping message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPing(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete ping message, invoking the callback when complete
|
static void |
WebSockets.sendPingBlocking(PooledByteBuffer pooledData,
WebSocketChannel wsChannel) |
Sends a complete ping message using blocking IO
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendPingBlocking(ByteBuffer[] data,
WebSocketChannel wsChannel) |
Sends a complete ping message using blocking IO
|
static void |
WebSockets.sendPingBlocking(ByteBuffer data,
WebSocketChannel wsChannel) |
Sends a complete ping message using blocking IO
|
static void |
WebSockets.sendPong(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete pong message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendPong(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete pong message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static <T> void |
WebSockets.sendPong(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete pong message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static <T> void |
WebSockets.sendPong(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete pong message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendPong(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete pong message, invoking the callback when complete
|
static void |
WebSockets.sendPong(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete pong message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPong(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete pong message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPong(ByteBuffer[] data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete pong message, invoking the callback when complete
|
static void |
WebSockets.sendPong(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete pong message, invoking the callback when complete
|
static void |
WebSockets.sendPong(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete pong message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPong(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete pong message, invoking the callback when complete
|
static <T> void |
WebSockets.sendPong(ByteBuffer data,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete pong message, invoking the callback when complete
|
static void |
WebSockets.sendPongBlocking(PooledByteBuffer pooledData,
WebSocketChannel wsChannel) |
Sends a complete pong message using blocking IO
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendPongBlocking(ByteBuffer[] data,
WebSocketChannel wsChannel) |
Sends a complete pong message using blocking IO
|
static void |
WebSockets.sendPongBlocking(ByteBuffer data,
WebSocketChannel wsChannel) |
Sends a complete pong message using blocking IO
|
static void |
WebSockets.sendText(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete text message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendText(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete text message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static <T> void |
WebSockets.sendText(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete text message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static <T> void |
WebSockets.sendText(PooledByteBuffer pooledData,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete text message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendText(String message,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete text message, invoking the callback when complete
|
static void |
WebSockets.sendText(String message,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete text message, invoking the callback when complete
|
static <T> void |
WebSockets.sendText(String message,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete text message, invoking the callback when complete
|
static <T> void |
WebSockets.sendText(String message,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete text message, invoking the callback when complete
|
static void |
WebSockets.sendText(ByteBuffer message,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback) |
Sends a complete text message, invoking the callback when complete
|
static void |
WebSockets.sendText(ByteBuffer message,
WebSocketChannel wsChannel,
WebSocketCallback<Void> callback,
long timeoutmillis) |
Sends a complete text message, invoking the callback when complete
|
static <T> void |
WebSockets.sendText(ByteBuffer message,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context) |
Sends a complete text message, invoking the callback when complete
|
static <T> void |
WebSockets.sendText(ByteBuffer message,
WebSocketChannel wsChannel,
WebSocketCallback<T> callback,
T context,
long timeoutmillis) |
Sends a complete text message, invoking the callback when complete
|
static void |
WebSockets.sendTextBlocking(PooledByteBuffer pooledData,
WebSocketChannel wsChannel) |
Sends a complete text message, invoking the callback when complete
Automatically frees the pooled byte buffer when done.
|
static void |
WebSockets.sendTextBlocking(String message,
WebSocketChannel wsChannel) |
Sends a complete text message, invoking the callback when complete
|
static void |
WebSockets.sendTextBlocking(ByteBuffer message,
WebSocketChannel wsChannel) |
Sends a complete text message, invoking the callback when complete
|