Package io.mangoo.routing.handlers
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 Summary
Constructors Constructor Description WebSocketHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonConnect(io.undertow.websockets.spi.WebSocketHttpExchange exchange, io.undertow.websockets.core.WebSocketChannel channel)WebSocketHandlerwithAuthentication(boolean hasAuthentication)WebSocketHandlerwithControllerClass(Class<?> controllerClass)
-
-
-
Method Detail
-
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:
onConnectin interfaceio.undertow.websockets.WebSocketConnectionCallback
-
-