Package | Description |
---|---|
io.vertx.rxjava.core.http |
Modifier and Type | Class and Description |
---|---|
class |
ServerWebSocket
Represents a server side WebSocket.
|
class |
WebSocket
Represents a client-side WebSocket.
|
Modifier and Type | Method and Description |
---|---|
WebSocketBase |
ServerWebSocket.binaryMessageHandler(Handler<Buffer> handler)
Set a binary message handler on the connection.
|
WebSocketBase |
WebSocket.binaryMessageHandler(Handler<Buffer> handler)
Set a binary message handler on the connection.
|
WebSocketBase |
WebSocketBase.binaryMessageHandler(Handler<Buffer> handler)
Set a binary message handler on the connection.
|
WebSocketBase |
WebSocketBase.closeHandler(Handler<Void> handler)
Set a close handler.
|
WebSocketBase |
WebSocketBase.drainHandler(Handler<Void> handler) |
WebSocketBase |
WebSocketBase.endHandler(Handler<Void> endHandler) |
WebSocketBase |
WebSocketBase.exceptionHandler(Handler<Throwable> handler) |
WebSocketBase |
WebSocketBase.fetch(long amount) |
WebSocketBase |
WebSocketBase.frameHandler(Handler<WebSocketFrame> handler)
Set a frame handler on the connection.
|
WebSocketBase |
WebSocketBase.handler(Handler<Buffer> handler) |
static WebSocketBase |
WebSocketBase.newInstance(WebSocketBase arg) |
WebSocketBase |
WebSocketBase.pause() |
WebSocketBase |
ServerWebSocket.pongHandler(Handler<Buffer> handler)
Set a pong frame handler on the connection.
|
WebSocketBase |
WebSocket.pongHandler(Handler<Buffer> handler)
Set a pong frame handler on the connection.
|
WebSocketBase |
WebSocketBase.pongHandler(Handler<Buffer> handler)
Set a pong frame handler on the connection.
|
WebSocketBase |
WebSocketBase.resume() |
WebSocketBase |
WebSocketBase.setWriteQueueMaxSize(int maxSize) |
WebSocketBase |
ServerWebSocket.textMessageHandler(Handler<String> handler)
Set a text message handler on the connection.
|
WebSocketBase |
WebSocket.textMessageHandler(Handler<String> handler)
Set a text message handler on the connection.
|
WebSocketBase |
WebSocketBase.textMessageHandler(Handler<String> handler)
Set a text message handler on the connection.
|
WebSocketBase |
WebSocketBase.write(Buffer data) |
WebSocketBase |
WebSocketBase.write(Buffer data,
Handler<AsyncResult<Void>> handler) |
WebSocketBase |
WebSocketBase.writeBinaryMessage(Buffer data)
Writes a (potentially large) piece of binary data to the connection.
|
WebSocketBase |
WebSocketBase.writeBinaryMessage(Buffer data,
Handler<AsyncResult<Void>> handler)
Same as
writeBinaryMessage(io.vertx.rxjava.core.buffer.Buffer) but with an handler called when the operation completes |
WebSocketBase |
WebSocketBase.writeFinalBinaryFrame(Buffer data)
Write a final WebSocket binary frame to the connection
|
WebSocketBase |
WebSocketBase.writeFinalBinaryFrame(Buffer data,
Handler<AsyncResult<Void>> handler)
Same as
writeFinalBinaryFrame(io.vertx.rxjava.core.buffer.Buffer) but with an handler called when the operation completes |
WebSocketBase |
WebSocketBase.writeFinalTextFrame(String text)
Write a final WebSocket text frame to the connection
|
WebSocketBase |
WebSocketBase.writeFinalTextFrame(String text,
Handler<AsyncResult<Void>> handler)
Same as
writeFinalTextFrame(java.lang.String) but with an handler called when the operation completes |
WebSocketBase |
WebSocketBase.writeFrame(WebSocketFrame frame)
Write a WebSocket frame to the connection
|
WebSocketBase |
WebSocketBase.writeFrame(WebSocketFrame frame,
Handler<AsyncResult<Void>> handler)
Same as
writeFrame(io.vertx.rxjava.core.http.WebSocketFrame) but with an handler called when the operation completes |
WebSocketBase |
ServerWebSocket.writePing(Buffer data)
Writes a ping frame to the connection.
|
WebSocketBase |
WebSocket.writePing(Buffer data)
Writes a ping frame to the connection.
|
WebSocketBase |
WebSocketBase.writePing(Buffer data)
Writes a ping frame to the connection.
|
WebSocketBase |
ServerWebSocket.writePong(Buffer data)
Writes a pong frame to the connection.
|
WebSocketBase |
WebSocket.writePong(Buffer data)
Writes a pong frame to the connection.
|
WebSocketBase |
WebSocketBase.writePong(Buffer data)
Writes a pong frame to the connection.
|
WebSocketBase |
WebSocketBase.writeTextMessage(String text)
Writes a (potentially large) piece of text data to the connection.
|
WebSocketBase |
WebSocketBase.writeTextMessage(String text,
Handler<AsyncResult<Void>> handler)
Same as
writeTextMessage(java.lang.String) but with an handler called when the operation completes |
Copyright © 2023 Eclipse. All rights reserved.