Class PathMatchingRouter
java.lang.Object
org.glassfish.jersey.server.internal.routing.PathMatchingRouter
- All Implemented Interfaces:
Router
Matches the un-matched right-hand request path to the configured collection of path pattern matching routes.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.jersey.server.internal.routing.Router
Router.Continuation
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPathMatchingRouter
(List<Route> routes) Constructs route methodAcceptorPair that usesPathPattern
instances for patch matching. -
Method Summary
Modifier and TypeMethodDescriptionapply
(RequestProcessingContext context) Performs a request routing task and returns the routed request together with arouting continuation
.
-
Field Details
-
acceptedRoutes
-
-
Constructor Details
-
PathMatchingRouter
Constructs route methodAcceptorPair that usesPathPattern
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
-
apply
Description copied from interface:Router
Performs a request routing task and returns the routed request together with arouting continuation
.
-