|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TreeAcceptor
Hierarchical request acceptor.
A continuation of a hierarchical acceptor is represented by an ordered collection of next level of hierarchical acceptors resulting in a hierarchical depth-first request transformation processing.
| Nested Class Summary | |
|---|---|
static interface |
TreeAcceptor.Builder
A TreeAcceptor builder. |
| 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)
Transforms supplied data and returns transformed data together with a processing continuation in the form of a <data, continuation> pair. |
| Methods inherited from interface com.google.common.base.Function |
|---|
equals |
| Method Detail |
|---|
Pair<javax.ws.rs.core.Request,Iterator<TreeAcceptor>> apply(javax.ws.rs.core.Request data)
pair.
The returned continuation is an iterator over the next level
of the tree acceptors that should be invoked. A non-empty iterator
typically indicates that the processing is expected to continue further, while
an empty iterator returned as a continuation indicates that the unidirectional
hierarchical data transformation previously reached a leaf node and the depth-first
processing algorithm needs to determine whether the processing is finished or
whether it should back-up, move to a next branch and continue.
apply in interface com.google.common.base.Function<javax.ws.rs.core.Request,Pair<javax.ws.rs.core.Request,Iterator<TreeAcceptor>>>apply in interface Stage<javax.ws.rs.core.Request,Iterator<TreeAcceptor>>data - data to be transformed.
pair of transformed data and processing continuation;
the transformed data is on the left and the processing continuation on
the right side of the pair.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||