Class WebsocketDeploymentUtils

java.lang.Object
io.fluxcapacitor.testserver.websocket.WebsocketDeploymentUtils

public class WebsocketDeploymentUtils extends Object
  • Constructor Details

    • WebsocketDeploymentUtils

      public WebsocketDeploymentUtils()
  • Method Details

    • deploy

      public static io.undertow.server.handlers.PathHandler deploy(Function<String,jakarta.websocket.Endpoint> endpointSupplier, String path, io.undertow.server.handlers.PathHandler pathHandler)
    • deployFromSession

      public static io.undertow.server.handlers.PathHandler deployFromSession(MemoizingFunction<jakarta.websocket.Session,jakarta.websocket.Endpoint> endpointSupplier, String path, io.undertow.server.handlers.PathHandler pathHandler)
    • createWebsocketDeploymentInfo

      public static io.undertow.websockets.jsr.WebSocketDeploymentInfo createWebsocketDeploymentInfo()
    • getProjectId

      public static String getProjectId(jakarta.websocket.Session session)