Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http | |
io.vertx.rxjava3.core.http |
Modifier and Type | Method and Description |
---|---|
static WebSocketFrame |
WebSocketFrame.binaryFrame(Buffer data,
boolean isFinal)
Create a binary WebSocket frame.
|
static WebSocketFrame |
WebSocketFrame.continuationFrame(Buffer data,
boolean isFinal)
Create a continuation frame
|
static WebSocketFrame |
WebSocketFrame.pingFrame(Buffer data)
Create a ping WebSocket frame.
|
static WebSocketFrame |
WebSocketFrame.pongFrame(Buffer data)
Create a pong WebSocket frame.
|
static WebSocketFrame |
WebSocketFrame.textFrame(String str,
boolean isFinal)
Create a text WebSocket frame.
|
Modifier and Type | Method and Description |
---|---|
Future<Void> |
WebSocketBase.writeFrame(WebSocketFrame frame)
Write a WebSocket frame to the connection
|
ServerWebSocket |
ServerWebSocket.writeFrame(WebSocketFrame frame,
Handler<AsyncResult<Void>> handler) |
WebSocket |
WebSocket.writeFrame(WebSocketFrame frame,
Handler<AsyncResult<Void>> handler) |
WebSocketBase |
WebSocketBase.writeFrame(WebSocketFrame frame,
Handler<AsyncResult<Void>> handler)
Same as
WebSocketBase.writeFrame(WebSocketFrame) but with an handler called when the operation completes |
Modifier and Type | Method and Description |
---|---|
ServerWebSocket |
ServerWebSocket.frameHandler(Handler<WebSocketFrame> handler) |
WebSocket |
WebSocket.frameHandler(Handler<WebSocketFrame> handler) |
Modifier and Type | Method and Description |
---|---|
WebSocketFrame |
WebSocketFrame.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocketFrame |
WebSocketFrame.newInstance(WebSocketFrame arg) |
Constructor and Description |
---|
WebSocketFrame(WebSocketFrame delegate) |
Modifier and Type | Method and Description |
---|---|
WebSocketFrame |
WebSocketFrame.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocketFrame |
WebSocketFrame.newInstance(WebSocketFrame arg) |
Constructor and Description |
---|
WebSocketFrame(WebSocketFrame delegate) |
Modifier and Type | Method and Description |
---|---|
WebSocketFrame |
WebSocketFrame.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static WebSocketFrame |
WebSocketFrame.newInstance(WebSocketFrame arg) |
Constructor and Description |
---|
WebSocketFrame(WebSocketFrame delegate) |
Copyright © 2024 Eclipse. All rights reserved.