Package io.varhttp

Class VarUndertowWebSocketCallback

java.lang.Object
io.varhttp.VarUndertowWebSocketCallback
All Implemented Interfaces:
io.undertow.websockets.WebSocketConnectionCallback

public class VarUndertowWebSocketCallback extends Object implements io.undertow.websockets.WebSocketConnectionCallback
  • Constructor Details

    • VarUndertowWebSocketCallback

      public VarUndertowWebSocketCallback()
  • Method Details

    • onConnect

      public void onConnect(io.undertow.websockets.spi.WebSocketHttpExchange exchange, io.undertow.websockets.core.WebSocketChannel channel)
      Specified by:
      onConnect in interface io.undertow.websockets.WebSocketConnectionCallback
    • getWebSocket

      public CompletableFuture<VarWebSocket> getWebSocket()