Class PathMatchingRouter

java.lang.Object
org.glassfish.jersey.server.internal.routing.PathMatchingRouter
All Implemented Interfaces:
Router

final class PathMatchingRouter extends Object implements Router
Matches the un-matched right-hand request path to the configured collection of path pattern matching routes.
  • Field Details

    • acceptedRoutes

      private final List<Route> acceptedRoutes
  • Constructor Details

    • PathMatchingRouter

      PathMatchingRouter(List<Route> routes)
      Constructs route methodAcceptorPair that uses PathPattern instances for patch matching.
      Parameters:
      routes - next-level request routers to be returned in case the router matching the built router is successful.
  • Method Details