Interface Router.RouterBuilder<B extends Router.RouterBuilder<B>>

Type Parameters:
B - type of the builder
All Known Subinterfaces:
Router.Builder
Enclosing interface:
Router

public static interface Router.RouterBuilder<B extends Router.RouterBuilder<B>>
Generic builder interface used by both Router.Builder and io.helidon.webserver.WebServer.Builder.
  • Method Summary

    Modifier and Type
    Method
    Description
    addRouting(Builder<?,? extends Routing> routing)
    Add a new routing to this router.
    List<Builder<?,? extends Routing>>
    List of all routing builders registered with this router builder.
  • Method Details

    • addRouting

      B addRouting(Builder<?,? extends Routing> routing)
      Add a new routing to this router.
      Parameters:
      routing - routing to add, such as io.helidon.webserver.http.HttpRouting
      Returns:
      updated builder
    • routings

      List<Builder<?,? extends Routing>> routings()
      List of all routing builders registered with this router builder.
      Returns:
      routing builder list