public class RoutedInflectorExtractorStage extends Object implements Stage<ContainerRequest>
extracts
an inflector from a routing context where it was previously stored by the
request to resource matching stage and
(if available) returns the inflector wrapped in a next terminal stage.
This request pre-processing stage should be a final stage in the request
processing chain.RoutingStageStage.Builder<DATA>, Stage.Continuation<DATA>| Constructor and Description |
|---|
RoutedInflectorExtractorStage(javax.inject.Provider<RoutingContext> routingContextFactory)
Create new inflector extracting acceptor.
|
| Modifier and Type | Method and Description |
|---|---|
Stage.Continuation<ContainerRequest> |
apply(ContainerRequest requestContext)
Performs a data processing task and returns the processed data together with
a
processing continuation. |
@Inject public RoutedInflectorExtractorStage(javax.inject.Provider<RoutingContext> routingContextFactory)
routingContextFactory - accepting context factory;public Stage.Continuation<ContainerRequest> apply(ContainerRequest requestContext)
Stageprocessing continuation.apply in interface Stage<ContainerRequest>requestContext - data to be transformed.Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.