Class WebSocketHandler

  • All Implemented Interfaces:
    io.undertow.websockets.WebSocketConnectionCallback

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

      • WebSocketHandler

        public WebSocketHandler()
    • Method Detail

      • withAuthentication

        public WebSocketHandler withAuthentication​(boolean hasAuthentication)
      • 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