Class WebsocketHttpSessionAttachRecorder

java.lang.Object
com.vaadin.quarkus.WebsocketHttpSessionAttachRecorder

public class WebsocketHttpSessionAttachRecorder extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 info
      container - websocket container
      deploymentManager - deployment manager
      Returns:
      an adapted version of VertxWebSocketHandler