Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http | |
io.vertx.rxjava3.core.http |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientWebSocket
Represents a client-side WebSocket initially not connected.
|
interface |
ServerWebSocket
Represents a server side WebSocket.
|
interface |
WebSocket
Represents a client-side WebSocket.
|
Modifier and Type | Method and Description |
---|---|
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) |
WebSocketBase |
WebSocketBase.pause() |
WebSocketBase |
WebSocketBase.pongHandler(Handler<Buffer> handler)
Set a pong frame handler on the connection.
|
WebSocketBase |
WebSocketBase.resume() |
WebSocketBase |
WebSocketBase.setWriteQueueMaxSize(int maxSize) |
WebSocketBase |
WebSocketBase.textMessageHandler(Handler<String> handler)
Set a text message handler on the connection.
|
WebSocketBase |
WebSocketBase.writeBinaryMessage(Buffer data,
Handler<AsyncResult<Void>> handler)
Same as
writeBinaryMessage(Buffer) but with an handler called when the operation completes |
WebSocketBase |
WebSocketBase.writeFinalBinaryFrame(Buffer data,
Handler<AsyncResult<Void>> handler)
Same as
writeFinalBinaryFrame(Buffer, Handler) but with an handler called when the operation completes |
WebSocketBase |
WebSocketBase.writeFinalTextFrame(String text,
Handler<AsyncResult<Void>> handler)
Same as
writeFinalTextFrame(String, Handler) but with an handler called when the operation completes |
WebSocketBase |
WebSocketBase.writeFrame(WebSocketFrame frame,
Handler<AsyncResult<Void>> handler)
Same as
writeFrame(WebSocketFrame) but with an handler called when the operation completes |
WebSocketBase |
WebSocketBase.writePing(Buffer data,
Handler<AsyncResult<Void>> handler)
Writes a ping frame to the connection.
|
WebSocketBase |
WebSocketBase.writePong(Buffer data,
Handler<AsyncResult<Void>> handler)
Writes a pong frame to the connection.
|
WebSocketBase |
WebSocketBase.writeTextMessage(String text,
Handler<AsyncResult<Void>> handler)
Same as
writeTextMessage(String) but with an handler called when the operation completes |
Modifier and Type | Method and Description |
---|---|
WebSocketBase |
WebSocketBase.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocketBase |
WebSocketBase.newInstance(WebSocketBase arg) |
Modifier and Type | Method and Description |
---|---|
WebSocketBase |
WebSocketBase.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocketBase |
WebSocketBase.newInstance(WebSocketBase arg) |
Modifier and Type | Method and Description |
---|---|
WebSocketBase |
WebSocketBase.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocketBase |
WebSocketBase.newInstance(WebSocketBase arg) |
Copyright © 2024 Eclipse. All rights reserved.