Uses of Interface
org.glassfish.jersey.server.internal.routing.Router
-
Packages that use Router Package Description org.glassfish.jersey.server.internal.routing 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 Router Modifier and Type Class Description (package private) class
MatchResultInitializerRouter
Request matching bootstrapping stage that pushes the whole request path to the routing context as a right-hand path to be matched.(package private) class
MethodSelectingRouter
A single router responsible for selecting a single method from all the methods bound to the same routed request path.(package private) class
PathMatchingRouter
Matches the un-matched right-hand request path to the configured collection of path pattern matching routes.(package private) class
PushMatchedMethodRouter
Router that pushes matchedresource method
torouting context
.(package private) class
PushMatchedRuntimeResourceRouter
Router that pushesruntime resource
matched during a any routing phase torouting context
.(package private) class
PushMatchedTemplateRouter
Router that pushesuri template
of matched resource of subResource torouting context
.(package private) class
PushMatchedUriRouter
Terminal router that pushes the URI matched so far to the stack returned byUriInfo.getMatchedURIs()
method.(package private) class
PushMethodHandlerRouter
Terminal router that pushes the matched method's handler instance to the stack returned byUriInfo.getMatchedResources()
method.private static class
Routers.EndpointRouter
(package private) class
SubResourceLocatorRouter
An methodAcceptorPair to accept sub-resource requests.Fields in org.glassfish.jersey.server.internal.routing declared as Router Modifier and Type Field Description private static Router
Routers. IDENTITY_ROUTER
private Router
PushMethodHandlerRouter. next
private Router
MatchResultInitializerRouter. rootRouter
(package private) Router
LocatorRouting. router
Sub-resource locator router.private Router
MethodSelectingRouter. router
private Router
RoutingStage. routingRoot
Fields in org.glassfish.jersey.server.internal.routing with type parameters of type Router Modifier and Type Field Description private java.util.List<Router>
PathMatchingRouterBuilder. currentRouters
private java.lang.Iterable<Router>
Router.Continuation. next
(package private) java.util.List<Router>
MethodRouting. routers
Resource method routers.private java.util.List<Router>
Route. routers
Methods in org.glassfish.jersey.server.internal.routing that return Router Modifier and Type Method Description Router
RuntimeModelBuilder. 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
Routers. endpoint(Endpoint endpoint)
(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 Router Modifier and Type Method Description private java.util.List<Router>
MethodSelectingRouter. getMethodRouter(RequestProcessingContext context)
java.util.List<Router>
Route. next()
Get next-level routers to be processed in case the routing pattern matches the unmatched right-hand part of the request path.(package private) java.lang.Iterable<Router>
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 Router Modifier and Type Method Description private 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.PathMatchingRouterBuilder
PathMatchingRouterBuilder. to(Router router)
PathMatchingRouterBuilder
PathToRouterBuilder. 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 parameters in org.glassfish.jersey.server.internal.routing with type arguments of type Router Modifier and Type Method Description (package private) static Route
Route. of(PathPattern routingPattern, java.util.List<Router> routers)
Create a new request route.(package private) static Router.Continuation
Router.Continuation. of(RequestProcessingContext result, java.lang.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 Router Constructor Description LocatorRouting(ResourceModel locator, Router router)
Create a new instance.MatchResultInitializerRouter(Router rootRouter)
Create a new match result initializer.MethodRouting(ResourceMethod method, Router... routers)
Create a new instance.PushMethodHandlerRouter(MethodHandler methodHandler, Router next)
Create a newPushMethodHandlerRouter
instance.RoutingStage(Router routingRoot)
Create a new routing stage instance.Constructor parameters in org.glassfish.jersey.server.internal.routing with type arguments of type Router Constructor Description Continuation(RequestProcessingContext request, java.lang.Iterable<Router> next)
Route(PathPattern routingPattern, java.util.List<Router> routers)
-