org.glassfish.jersey.server.internal.routing
Class RoutingStage
java.lang.Object
org.glassfish.jersey.process.internal.AbstractChainableStage<ContainerRequest>
org.glassfish.jersey.server.internal.routing.RoutingStage
- All Implemented Interfaces:
- ChainableStage<ContainerRequest>, Stage<ContainerRequest>
public class RoutingStage
- extends AbstractChainableStage<ContainerRequest>
Request pre-processing stage that encapsulates hierarchical resource matching
and request routing.
Once the routing is finished, an inflector (if found) is stored in the
routing context.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
- See Also:
RoutedInflectorExtractorStage
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
apply
public Stage.Continuation<ContainerRequest> apply(ContainerRequest request)
-
Routing stage navigates through the nested
routing hierarchy
using a depth-first transformation strategy until a request-to-response
inflector is found on
a leaf stage node, in which case the request routing is terminated and an
inflector (if found) is pushed
to the routing context.
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.