Uses of Interface
org.glassfish.jersey.server.internal.routing.Router
Packages that use Router
Package
Description
Jersey server-side internal resource routing classes.
-
Uses of Router in org.glassfish.jersey.server.internal.routing
Classes in org.glassfish.jersey.server.internal.routing that implement RouterModifier and TypeClassDescription(package private) final class
Request matching bootstrapping stage that pushes the whole request path to the routing context as a right-hand path to be matched.(package private) final class
A single router responsible for selecting a single method from all the methods bound to the same routed request path.(package private) final class
Matches the un-matched right-hand request path to the configured collection of path pattern matching routes.(package private) final class
Router that pushes matchedresource method
torouting context
.(package private) final class
Router that pushesruntime resource
matched during a any routing phase torouting context
.(package private) final class
Router that pushesuri template
of matched resource of subResource torouting context
.(package private) final class
Terminal router that pushes the URI matched so far to the stack returned byUriInfo.getMatchedURIs()
method.(package private) final class
Terminal router that pushes the matched method's handler instance to the stack returned byUriInfo.getMatchedResources()
method.private static class
(package private) final class
An methodAcceptorPair to accept sub-resource requests.Fields in org.glassfish.jersey.server.internal.routing declared as RouterModifier and TypeFieldDescriptionprivate static final Router
Routers.IDENTITY_ROUTER
private final Router
PushMethodHandlerRouter.next
private final Router
MatchResultInitializerRouter.rootRouter
(package private) final Router
LocatorRouting.router
Sub-resource locator router.private final Router
MethodSelectingRouter.router
private final Router
RoutingStage.routingRoot
Fields in org.glassfish.jersey.server.internal.routing with type parameters of type RouterModifier and TypeFieldDescriptionPathMatchingRouterBuilder.currentRouters
Router.Continuation.next
MethodRouting.routers
Resource method routers.Route.routers
Methods in org.glassfish.jersey.server.internal.routing that return RouterModifier and TypeMethodDescriptionRuntimeModelBuilder.buildModel
(RuntimeResourceModel resourceModel, boolean subResourceMode) Build a runtime model of routers based on theresourceModel
.private Router
MethodSelectingRouter.createHeadEnrichedRouter()
private Router
MethodSelectingRouter.createInternalRouter()
private Router
RuntimeModelBuilder.createMethodRouter
(ResourceMethod resourceMethod) private Router
RuntimeModelBuilder.createRootRouter
(PathMatchingRouterBuilder lastRoutedBuilder, boolean subResourceMode) static Router
(package private) Router
RuntimeLocatorModelBuilder.getRouter
(ResourceMethod resourceMethod) Obtain a sub-resource locator router for given resource method.static Router
Routers.noop()
Create a terminal "no-op router" that accepts any input context and returns the unchanged request and an empty continuation iterator.Methods in org.glassfish.jersey.server.internal.routing that return types with arguments of type RouterModifier and TypeMethodDescriptionMethodSelectingRouter.getMethodRouter
(RequestProcessingContext context) Route.next()
Get next-level routers to be processed in case the routing pattern matches the unmatched right-hand part of the request path.Router.Continuation.next()
Get the next level routers to be invoked oran empty
if no next level routers are present.Methods in org.glassfish.jersey.server.internal.routing with parameters of type RouterModifier and TypeMethodDescriptionprivate RoutingStage.RoutingResult
RoutingStage._apply
(RequestProcessingContext request, Router router) static Endpoint
Routers.extractEndpoint
(Router router) Extract endpoint stored in a router (if any).(package private) static Router.Continuation
Router.Continuation.of
(RequestProcessingContext request, Router next) Create a continuation from the routed request and a single of next level routers.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 parameters in org.glassfish.jersey.server.internal.routing with type arguments of type RouterModifier and TypeMethodDescription(package private) static Route
Route.of
(PathPattern routingPattern, List<Router> routers) Create a new request route.(package private) static Router.Continuation
Router.Continuation.of
(RequestProcessingContext result, Iterable<Router> next) Create a continuation from the routed request and a collection of next level routers.Constructors in org.glassfish.jersey.server.internal.routing with parameters of type RouterModifierConstructorDescription(package private)
LocatorRouting
(ResourceModel locator, Router router) Create a new instance.(package private)
MatchResultInitializerRouter
(Router rootRouter) Create a new match result initializer.(package private)
MethodRouting
(ResourceMethod method, Router... routers) Create a new instance.(package private)
PushMethodHandlerRouter
(MethodHandler methodHandler, Router next) Create a newPushMethodHandlerRouter
instance.(package private)
RoutingStage
(Router routingRoot) Create a new routing stage instance.Constructor parameters in org.glassfish.jersey.server.internal.routing with type arguments of type RouterModifierConstructorDescriptionprivate
Continuation
(RequestProcessingContext request, Iterable<Router> next) private
Route
(PathPattern routingPattern, List<Router> routers)