Package com.vaadin.quarkus
Class WebsocketHttpSessionAttachRecorder
java.lang.Object
com.vaadin.quarkus.WebsocketHttpSessionAttachRecorder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.Handler<io.vertx.ext.web.RoutingContext> createWebSocketHandler(io.quarkus.runtime.RuntimeValue<io.undertow.websockets.WebSocketDeploymentInfo> info, io.quarkus.runtime.RuntimeValue<io.undertow.websockets.ServerWebSocketContainer> container, io.undertow.servlet.api.DeploymentManager deploymentManager) Gets an adapted version of VertxWebSocketHandler that attaches upgrade request HTTP session to the Undertow WebSocket HttpExchange.
-
Constructor Details
-
WebsocketHttpSessionAttachRecorder
public WebsocketHttpSessionAttachRecorder()
-
-
Method Details
-
createWebSocketHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> createWebSocketHandler(io.quarkus.runtime.RuntimeValue<io.undertow.websockets.WebSocketDeploymentInfo> info, io.quarkus.runtime.RuntimeValue<io.undertow.websockets.ServerWebSocketContainer> container, io.undertow.servlet.api.DeploymentManager deploymentManager) Gets an adapted version of VertxWebSocketHandler that attaches upgrade request HTTP session to the Undertow WebSocket HttpExchange.- Parameters:
info- websocket deployment infocontainer- websocket containerdeploymentManager- deployment manager- Returns:
- an adapted version of VertxWebSocketHandler
-