org.glassfish.jersey.server.internal.routing
Class PushResourceUriAndDelegateTreeAcceptor
java.lang.Object
org.glassfish.jersey.server.internal.routing.AbstractPushRoutingInfoAndDelegateTreeAcceptor
org.glassfish.jersey.server.internal.routing.PushResourceUriAndDelegateTreeAcceptor
- All Implemented Interfaces:
- com.google.common.base.Function<javax.ws.rs.core.Request,Pair<javax.ws.rs.core.Request,Iterator<TreeAcceptor>>>, Stage<javax.ws.rs.core.Request,Iterator<TreeAcceptor>>, TreeAcceptor
public class PushResourceUriAndDelegateTreeAcceptor
- extends AbstractPushRoutingInfoAndDelegateTreeAcceptor
A wrapper, which will push both the current resource and the actual URI path to the routing context
before delegating to the encapsulated acceptor.
- Author:
- Jakub Podlesak (jakub.podlesak at oracle.com)
| Nested classes/interfaces inherited from interface org.glassfish.jersey.process.internal.Stage |
Stage.Root |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
PushResourceUriAndDelegateTreeAcceptor
public PushResourceUriAndDelegateTreeAcceptor(org.glassfish.hk2.inject.Injector injector,
ResourceClass resource,
TreeAcceptor wrappedAcceptor)
- Constructs a new wrapper.
- Parameters:
injector - to be used to obtain the actual resource instance and routing contextresource - resource class modelwrappedAcceptor - this will be used to delegate the apply method invocation
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.