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


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

    Modifier and Type
    Method
    Description
    Creates a route builder without using a router.
    create(Router<R,W> router)
    Creates a route builder using the specified router.
  • Method Details

    • create

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

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