Interface WebsocketRouteBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>>


public interface WebsocketRouteBuilderFactory<R extends RequestContext<?>,W extends WebsocketContext<?>>
Factory to create a WebSocket route builder.
  • Method Details

    • create

      Creates a route builder without using a router. The save() method will throw an expception if called. Only create() will be available.
    • create

      WebsocketRouteBuilder<R,W> create(Router<R,W> router)
      Creates a WebSocket route builder using the specified router.