| Package | Description |
|---|---|
| io.vertx.core.http | |
| io.vertx.core.spi | |
| io.vertx.rxjava.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.textFrame(String str,
boolean isFinal)
Create a text WebSocket frame.
|
| Modifier and Type | Method and Description |
|---|---|
ServerWebSocket |
ServerWebSocket.writeFrame(WebSocketFrame frame) |
WebSocket |
WebSocket.writeFrame(WebSocketFrame frame) |
WebSocketBase |
WebSocketBase.writeFrame(WebSocketFrame frame)
Write a WebSocket frame to the connection
|
| Modifier and Type | Method and Description |
|---|---|
ServerWebSocket |
ServerWebSocket.frameHandler(Handler<WebSocketFrame> handler) |
WebSocket |
WebSocket.frameHandler(Handler<WebSocketFrame> handler) |
WebSocketBase |
WebSocketBase.frameHandler(Handler<WebSocketFrame> handler)
Set a frame handler on the connection.
|
| Modifier and Type | Method and Description |
|---|---|
WebSocketFrame |
WebSocketFrameFactory.binaryFrame(Buffer data,
boolean isFinal) |
WebSocketFrame |
WebSocketFrameFactory.continuationFrame(Buffer data,
boolean isFinal) |
WebSocketFrame |
WebSocketFrameFactory.textFrame(String str,
boolean isFinal) |
| Modifier and Type | Method and Description |
|---|---|
static WebSocketFrame |
WebSocketFrame.newInstance(WebSocketFrame arg) |
| Constructor and Description |
|---|
WebSocketFrame(WebSocketFrame delegate) |
Copyright © 2015. All rights reserved.