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 Details

    • UndertowWebSocketCallback

      public UndertowWebSocketCallback(HttpWebSocketRequestHandler wsSocketIncomingConnHandler)
      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:
      onConnect in interface io.undertow.websockets.WebSocketConnectionCallback