Class WebSocketHandler

java.lang.Object
io.mangoo.routing.handlers.WebSocketHandler
All Implemented Interfaces:
io.undertow.websockets.WebSocketConnectionCallback

public class WebSocketHandler extends Object implements io.undertow.websockets.WebSocketConnectionCallback
Author:
svenkubiak
  • Constructor Details

    • WebSocketHandler

      public WebSocketHandler()
  • Method Details

    • withAuthentication

      public WebSocketHandler withAuthentication(boolean hasAuthentication)
    • withControllerClass

      public WebSocketHandler withControllerClass(Class<?> controllerClass)
    • 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