Module io.helidon.webserver
Package io.helidon.webserver
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
Router.Builder
.-
Method Summary
Modifier and TypeMethodDescriptionaddRouting
(Routing routing) Add a new routing to this router.default B
addRouting
(Supplier<? extends Routing> routing) Add a new routing to this router.
-
Method Details
-
addRouting
Add a new routing to this router.- Parameters:
routing
- routing to add- Returns:
- updated builder
-
addRouting
Add a new routing to this router.- Parameters:
routing
- routing to add- Returns:
- updated builder
-