| Package | Description |
|---|---|
| org.glassfish.jersey.server.internal.routing |
Jersey server-side internal resource routing classes.
|
| Modifier and Type | Method and Description |
|---|---|
static Router |
Routers.asTreeAcceptor(Inflector<RequestProcessingContext,ContainerResponse> inflector)
Creates a leaf-node
Router that implements Inflecting
interface and returns the provided Inflector instance
when the Inflecting.inflector() method is called. |
Router |
Router.Builder.build()
Build a
hierarchical router for the transformation of
a given data type. |
Router |
RuntimeModelBuilder.buildModel(RuntimeResourceModel resourceModel,
boolean subResourceMode)
Build a runtime model of routers based on the
resourceModel. |
Router |
Routers.RootRouteBuilder.root(Router routingRoot) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Router> |
Router.Continuation.next()
Get the next level routers to be invoked or
an empty if no next
level routers are present. |
| Modifier and Type | Method and Description |
|---|---|
Router.Builder |
Router.Builder.child(Router child)
Add new child node into the
hierarchical request router
being built. |
static Router.Continuation |
Router.Continuation.of(RequestProcessingContext request,
Router next)
Create a continuation from the routed request and a single
of next level routers.
|
Router |
Routers.RootRouteBuilder.root(Router routingRoot) |
Routers.RouteToPathBuilder<T> |
Routers.RouteToBuilder.to(Router a) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Routers.RouteToPathBuilder<T> |
Routers.RouteToBuilder.to(Class<? extends Router> ca) |
Routers.RouteToPathBuilder<T> |
Routers.RouteToBuilder.to(org.glassfish.hk2.api.Factory<? extends Router> pa) |
| Constructor and Description |
|---|
RoutingStage(Router routingRoot)
Create a new routing stage instance.
|
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.