| Modifier and Type | Method and Description | 
|---|---|
| Future<ServerWebSocket> | HttpServerRequest. toWebSocket()Like  HttpServerRequest.toWebSocket(Handler)but returns aFutureof 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  Handlerable 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 | 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 © 2023 Eclipse. All rights reserved.