|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LinearAcceptor
Linear request acceptor.
A continuation of a linear acceptor is represented by an (optional)
single next linear acceptor resulting in a linear request transformation processing.
| Nested Class Summary | |
|---|---|
static interface |
LinearAcceptor.Builder
Linear acceptor chain builder. |
| Method Summary | |
|---|---|
Pair<Request,com.google.common.base.Optional<LinearAcceptor>> |
apply(Request data)
Transforms supplied data and returns transformed data together with a processing continuation in the form of a <data, continuation> pair. |
| Method Detail |
|---|
Pair<Request,com.google.common.base.Optional<LinearAcceptor>> apply(Request data)
pair.
The returned continuation is (optionally) the next linear
acceptor that should be invoked. A present
continuation indicates the processing is expected to continue further, while
absence of a continuation indicates that the
unidirectional request transformation passed its final stage.
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 | |||||||||