java.lang.Object
io.helidon.webserver.websocket.WsRouting
All Implemented Interfaces:
Routing, ServerLifecycle

public class WsRouting extends Object implements Routing
WebSocket specific routing.
  • Method Details

    • builder

      public static WsRouting.Builder builder()
      Builder for WebSocket routing.
      Returns:
      new builder
    • empty

      public static WsRouting empty()
      Emtpy WebSocket routing.
      Returns:
      empty routing
    • beforeStart

      public void beforeStart()
      Specified by:
      beforeStart in interface ServerLifecycle
    • afterStop

      public void afterStop()
      Specified by:
      afterStop in interface ServerLifecycle
    • findRoute

      public WsRoute findRoute(io.helidon.http.HttpPrologue prologue)
      Find a route based on the provided prologue.
      Parameters:
      prologue - prologue with path and other request information
      Returns:
      found route