Package io.undertow.websockets.jsr
Class EndpointSessionHandler
- java.lang.Object
-
- io.undertow.websockets.jsr.EndpointSessionHandler
-
- All Implemented Interfaces:
WebSocketConnectionCallback
public final class EndpointSessionHandler extends Object implements WebSocketConnectionCallback
WebSocketConnectionCallbackimplementation which will setuo theUndertowSessionand notify theEndpointabout the new session.- Author:
- Norman Maurer
-
-
Constructor Summary
Constructors Constructor Description EndpointSessionHandler(ServerWebSocketContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonConnect(WebSocketHttpExchange exchange, WebSocketChannel channel)Is called once the WebSocket connection is established, which means the handshake was successful.
-
-
-
Constructor Detail
-
EndpointSessionHandler
public EndpointSessionHandler(ServerWebSocketContainer container)
-
-
Method Detail
-
onConnect
public void onConnect(WebSocketHttpExchange exchange, WebSocketChannel channel)
Description copied from interface:WebSocketConnectionCallbackIs called once the WebSocket connection is established, which means the handshake was successful.- Specified by:
onConnectin interfaceWebSocketConnectionCallback
-
-