org.glassfish.jersey.server.internal.routing
Class RoutedInflectorExtractorStage

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.jersey.process.internal.Stage
Stage.Builder<DATA>, Stage.Continuation<DATA>
 
Constructor Summary
RoutedInflectorExtractorStage(javax.inject.Provider<RoutingContext> routingContextFactory)
          Create new inflector extracting acceptor.
 
Method Summary
 Stage.Continuation<ContainerRequest> apply(ContainerRequest requestContext)
          Performs a data processing task and returns the processed data together with a processing continuation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoutedInflectorExtractorStage

@Inject
public RoutedInflectorExtractorStage(javax.inject.Provider<RoutingContext> routingContextFactory)
Create new inflector extracting acceptor.

Parameters:
routingContextFactory - accepting context factory;
Method Detail

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.