|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.process.internal.Stage.Continuation<DATA>
DATA - processed data type.public static final class Stage.Continuation<DATA>
Data processing stage continuation.
A continuation of a processing stage is a processing result represented by an
(optional) stage that should be invoked next
and the processed data result.
| Method Summary | ||
|---|---|---|
boolean |
hasNext()
Check if there is a next stage present in the continuation. |
|
Stage<DATA> |
next()
Get the stage to be invoked next or null if no next stage is
present. |
|
static
|
of(DATA result)
Create a terminal continuation from the processed data result. |
|
static
|
of(DATA result,
Stage<DATA> next)
Create a continuation from the processed data result and the stage to be invoked next. |
|
DATA |
result()
Get the data processing result. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <DATA> Stage.Continuation<DATA> of(DATA result,
Stage<DATA> next)
DATA - processed data type.result - data processing result.next - stage to be invoked next.
next in the processing chain
and the supplied processing result.public static <DATA> Stage.Continuation<DATA> of(DATA result)
DATA - processed data type.result - data processing result.
next
stage in the processing chain and the supplied processing result.public DATA result()
public Stage<DATA> next()
null if no next stage is
present.
null if not present.public boolean hasNext()
The absence of a next stage in the continuation indicates that the data processing
reached a terminal stage and the result of the continuation represents
the final result of the whole processing chain.
true if there is a next stage present in the continuation,
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||