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 -
Method Summary
Modifier and TypeMethodDescriptionvoidonConnect(io.undertow.websockets.spi.WebSocketHttpExchange exchange, io.undertow.websockets.core.WebSocketChannel channel) withAuthentication(boolean hasAuthentication) withControllerClass(Class<?> controllerClass)
-
Constructor Details
-
WebSocketHandler
public WebSocketHandler()
-
-
Method Details
-
withAuthentication
-
withControllerClass
-
onConnect
public void onConnect(io.undertow.websockets.spi.WebSocketHttpExchange exchange, io.undertow.websockets.core.WebSocketChannel channel) - Specified by:
onConnectin interfaceio.undertow.websockets.WebSocketConnectionCallback
-