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()
Deprecated.
instead use
HttpServer.webSocketHandler(Handler) |
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()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ApolloWSHandler |
ApolloWSHandler.connectionHandler(Handler<ServerWebSocket> connectionHandler)
Deprecated.
Customize the connection
Handler . |
ApolloWSHandler |
ApolloWSHandler.endHandler(Handler<ServerWebSocket> endHandler)
Deprecated.
Customize the end
Handler . |
Modifier and Type | Method and Description |
---|---|
ServerWebSocket |
Message.socket() |
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) |
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 © 2024 Eclipse. All rights reserved.