Interface PathToRouterBuilder
-
- All Known Implementing Classes:
PathMatchingRouterBuilder
interface PathToRouterBuilder
An intermediate path matching router builder. This builder completes a routing information for a single routedPathPattern
. In case the unmatched right-hand part of the request path is matched by the routed path pattern, the request processing context will be serially routed to all the child routers attached to the routing pattern using this routing completion builder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PathMatchingRouterBuilder
to(Router router)
Register a new next-level router to be used for request routing in case the routing pattern matches the unmatched right-hand part of the request path.
-
-
-
Method Detail
-
to
PathMatchingRouterBuilder to(Router router)
Register a new next-level router to be used for request routing in case the routing pattern matches the unmatched right-hand part of the request path.- Parameters:
router
- new next-level router to be registered with the routed path pattern.- Returns:
- updated route builder ready to build a new
router
instance (or add more routes to the currently built one).
-
-