Package com.vaadin.quarkus
Class WebsocketHttpSessionAttachRecorder
- java.lang.Object
-
- com.vaadin.quarkus.WebsocketHttpSessionAttachRecorder
-
public class WebsocketHttpSessionAttachRecorder extends Object
-
-
Constructor Summary
Constructors Constructor Description WebsocketHttpSessionAttachRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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
-
-