org.glassfish.jersey.server.internal.routing
Class RoutedInflectorExtractorStage
java.lang.Object
org.glassfish.jersey.server.internal.routing.RoutedInflectorExtractorStage
- All Implemented Interfaces:
- Stage<ContainerRequest>
public class RoutedInflectorExtractorStage
- extends Object
- implements Stage<ContainerRequest>
Request pre-processing stage that 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.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
- See Also:
RoutingStage
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoutedInflectorExtractorStage
@Inject
public RoutedInflectorExtractorStage(javax.inject.Provider<RoutingContext> routingContextFactory)
- Create new inflector extracting acceptor.
- Parameters:
routingContextFactory - accepting context factory;
apply
public Stage.Continuation<ContainerRequest> apply(ContainerRequest requestContext)
- Description copied from interface:
Stage
- Performs a data processing task and returns the processed data together with
a
processing continuation.
- Specified by:
apply in interface Stage<ContainerRequest>
- Parameters:
requestContext - data to be transformed.
- Returns:
- a processing continuation.
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.