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)
           
 
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)
Specified by:
apply in interface Stage<ContainerRequest>


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.