public final class EndpointSessionHandler extends Object implements WebSocketConnectionCallback
WebSocketConnectionCallback implementation which will setuo the UndertowSession and notify the Endpoint about the new session.| Constructor and Description |
|---|
EndpointSessionHandler(ServerWebSocketContainer container) |
| Modifier and Type | Method and Description |
|---|---|
void | onConnect(WebSocketHttpExchange exchange, WebSocketChannel channel) Is called once the WebSocket connection is established, which means the handshake was successful. |
public EndpointSessionHandler(ServerWebSocketContainer container)
public void onConnect(WebSocketHttpExchange exchange, WebSocketChannel channel)
WebSocketConnectionCallbackonConnect in interface WebSocketConnectionCallbackCopyright © 2020 JBoss by Red Hat. All rights reserved.