Class UndertowWebSocketCallback
java.lang.Object
dev.voidframework.web.server.http.UndertowWebSocketCallback
- All Implemented Interfaces:
io.undertow.websockets.WebSocketConnectionCallback
public class UndertowWebSocketCallback
extends Object
implements io.undertow.websockets.WebSocketConnectionCallback
Undertow WebSocket callback implementation.
- Since:
- 1.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionUndertowWebSocketCallback(HttpWebSocketRequestHandler wsSocketIncomingConnHandler) Build a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidonConnect(io.undertow.websockets.spi.WebSocketHttpExchange webSocketHttpExchange, io.undertow.websockets.core.WebSocketChannel webSocketChannel)
-
Constructor Details
-
UndertowWebSocketCallback
Build a new instance.- Parameters:
wsSocketIncomingConnHandler- The WebSocket incoming connection handler- Since:
- 1.3.0
-
-
Method Details
-
onConnect
public void onConnect(io.undertow.websockets.spi.WebSocketHttpExchange webSocketHttpExchange, io.undertow.websockets.core.WebSocketChannel webSocketChannel) - Specified by:
onConnectin interfaceio.undertow.websockets.WebSocketConnectionCallback
-