interface PathToRouterBuilder
PathPattern
.
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.Modifier and Type | Method and 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.
|
PathMatchingRouterBuilder to(Router router)
router
- new next-level router to be registered with the routed path pattern.router
instance
(or add more routes to the currently built one).