public class RoutingStage extends AbstractChainableStage<RequestProcessingContext>
stored in the
routing context.RoutedInflectorExtractorStageStage.Builder<DATA>, Stage.Continuation<DATA>| Constructor and Description |
|---|
RoutingStage(Router routingRoot)
Create a new routing stage instance.
|
| Modifier and Type | Method and Description |
|---|---|
Stage.Continuation<RequestProcessingContext> |
apply(RequestProcessingContext context)
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. |
getDefaultNext, setDefaultNextpublic RoutingStage(Router routingRoot)
routingRoot - root router.public Stage.Continuation<RequestProcessingContext> apply(RequestProcessingContext context)
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-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.