Package | Description |
---|---|
io.vertx.core.http |
== Writing HTTP servers and clients
Vert.x allows you to easily write non blocking HTTP clients and servers.
|
io.vertx.core.http.impl | |
io.vertx.core.http.impl.ws | |
io.vertx.core.spi |
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 |
---|---|
WebSocketBase |
WebSocketBase.writeFrame(WebSocketFrame frame)
Write a WebSocket frame to the connection
|
WebSocket |
WebSocket.writeFrame(WebSocketFrame frame) |
ServerWebSocket |
ServerWebSocket.writeFrame(WebSocketFrame frame) |
Modifier and Type | Method and Description |
---|---|
WebSocketBase |
WebSocketBase.frameHandler(Handler<WebSocketFrame> handler)
Set a frame handler on the connection.
|
WebSocket |
WebSocket.frameHandler(Handler<WebSocketFrame> handler) |
ServerWebSocket |
ServerWebSocket.frameHandler(Handler<WebSocketFrame> handler) |
Modifier and Type | Field and Description |
---|---|
protected Handler<WebSocketFrame> |
WebSocketImplBase.frameHandler |
Modifier and Type | Method and Description |
---|---|
WebSocketFrame |
WebSocketFrameFactoryImpl.binaryFrame(Buffer data,
boolean isFinal) |
WebSocketFrame |
WebSocketFrameFactoryImpl.continuationFrame(Buffer data,
boolean isFinal) |
WebSocketFrame |
WebSocketFrameFactoryImpl.textFrame(String str,
boolean isFinal) |
Modifier and Type | Method and Description |
---|---|
WebSocket |
WebSocketImpl.writeFrame(WebSocketFrame frame) |
ServerWebSocket |
ServerWebSocketImpl.writeFrame(WebSocketFrame frame) |
protected void |
WebSocketImplBase.writeFrameInternal(WebSocketFrame frame) |
Modifier and Type | Method and Description |
---|---|
WebSocket |
WebSocketImpl.frameHandler(Handler<WebSocketFrame> handler) |
ServerWebSocket |
ServerWebSocketImpl.frameHandler(Handler<WebSocketFrame> handler) |
Modifier and Type | Interface and Description |
---|---|
interface |
WebSocketFrameInternal
A Web Socket frame that represents either text or binary data.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketFrameImpl
The default
WebSocketFrameInternal implementation. |
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) |
Copyright © 2015. All Rights Reserved.