org.glassfish.jersey.server.internal.routing
Class AbstractPushRoutingInfoAndDelegateTreeAcceptor
java.lang.Object
org.glassfish.jersey.server.internal.routing.AbstractPushRoutingInfoAndDelegateTreeAcceptor
- 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
- Direct Known Subclasses:
- PushResourceUriAndDelegateTreeAcceptor
public abstract class AbstractPushRoutingInfoAndDelegateTreeAcceptor
- extends Object
- implements TreeAcceptor
A common base for an acceptor wrapper. Before delegating the apply method
to an encapsulated acceptor, it pushes current routing information to the routing context.
- Author:
- Jakub Podlesak
- See Also:
PushResourceUriAndDelegateTreeAcceptor},
PushUriAndDelegateTreeAcceptor}
| Nested classes/interfaces inherited from interface org.glassfish.jersey.process.internal.Stage |
Stage.Root |
|
Method Summary |
Pair<javax.ws.rs.core.Request,Iterator<TreeAcceptor>> |
apply(javax.ws.rs.core.Request data)
Before delegating to the encapsulated acceptor, the actual routing context will be pushed
according to the current pushMatchedToRoutingContext method implementation. |
| 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 |
apply
public Pair<javax.ws.rs.core.Request,Iterator<TreeAcceptor>> apply(javax.ws.rs.core.Request data)
- Before delegating to the encapsulated acceptor, the actual routing context will be pushed
according to the current
pushMatchedToRoutingContext method implementation.
- Specified by:
apply in interface com.google.common.base.Function<javax.ws.rs.core.Request,Pair<javax.ws.rs.core.Request,Iterator<TreeAcceptor>>>- Specified by:
apply in interface Stage<javax.ws.rs.core.Request,Iterator<TreeAcceptor>>- Specified by:
apply in interface TreeAcceptor
- Parameters:
data - current request
- Returns:
- acceptor chain to respond the request
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.