Interface PathToRouterBuilder

All Known Implementing Classes:
PathMatchingRouterBuilder

interface PathToRouterBuilder
An intermediate path matching router builder. This builder completes a routing information for a single routed 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.
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • to

      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).