| Package | Description |
|---|---|
| io.vertx.core.http | |
| io.vertx.core.spi.metrics | |
| io.vertx.ext.stomp | |
| io.vertx.ext.web.handler.graphql | |
| io.vertx.reactivex.core.http | |
| io.vertx.rxjava.core.http |
| Modifier and Type | Method and Description |
|---|---|
Future<ServerWebSocket> |
HttpServerRequest.toWebSocket()
Like
HttpServerRequest.toWebSocket(Handler) but returns a Future of the asynchronous result |
Handler<ServerWebSocket> |
HttpServer.webSocketHandler() |
ReadStream<ServerWebSocket> |
HttpServer.webSocketStream()
Return the WebSocket stream for the server.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
HttpServerRequest.toWebSocket(Handler<AsyncResult<ServerWebSocket>> handler)
Upgrade the connection of the current request to a WebSocket.
|
HttpServer |
HttpServer.webSocketHandler(Handler<ServerWebSocket> handler)
Set the WebSocket handler for the server to
wsHandler. |
| Modifier and Type | Method and Description |
|---|---|
default W |
HttpServerMetrics.connected(S socketMetric,
R requestMetric,
ServerWebSocket serverWebSocket)
Called when a server web socket connects.
|
| Modifier and Type | Method and Description |
|---|---|
Handler<ServerWebSocket> |
StompServer.webSocketHandler()
Gets the
Handler able to manage web socket connections. |
| Modifier and Type | Method and Description |
|---|---|
ServerWebSocket |
ApolloWSMessage.serverWebSocket() |
| Modifier and Type | Method and Description |
|---|---|
ApolloWSHandler |
ApolloWSHandler.connectionHandler(Handler<ServerWebSocket> connectionHandler)
Customize the connection
Handler. |
ApolloWSHandler |
ApolloWSHandler.endHandler(Handler<ServerWebSocket> endHandler)
Customize the end
Handler. |
| Modifier and Type | Method and Description |
|---|---|
ServerWebSocket |
ServerWebSocket.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static ServerWebSocket |
ServerWebSocket.newInstance(ServerWebSocket arg) |
| Constructor and Description |
|---|
ServerWebSocket(ServerWebSocket delegate) |
| Modifier and Type | Method and Description |
|---|---|
ServerWebSocket |
ServerWebSocket.getDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static ServerWebSocket |
ServerWebSocket.newInstance(ServerWebSocket arg) |
| Constructor and Description |
|---|
ServerWebSocket(ServerWebSocket delegate) |
Copyright © 2021 Eclipse. All rights reserved.