|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface LinearAcceptor.Builder
Linear acceptor chain builder.
| Method Summary | |
|---|---|
LinearAcceptor |
build()
Build a acceptor chain. |
LinearAcceptor |
build(LinearAcceptor terminal)
Add terminal acceptor to the acceptor chain and build the chain. |
LinearAcceptor.Builder |
to(ChainableAcceptor acceptor)
Add a new chainable acceptor as a next stage to the
linear acceptor chain. |
LinearAcceptor.Builder |
to(com.google.common.base.Function<Request,Request> transformation)
Add a transformation function as a next stage to the linear acceptor chain. |
| Method Detail |
|---|
LinearAcceptor.Builder to(com.google.common.base.Function<Request,Request> transformation)
The order of the to(...) method invocations matches the order
of the acceptor execution in the request processor.
transformation - a transformation function to be added as a next
acceptor to the linear acceptor chain.
LinearAcceptor.Builder to(ChainableAcceptor acceptor)
chainable acceptor as a next stage to the
linear acceptor chain.
The order of the to(...) method invocations matches the order
of the acceptor execution in the request processor.
A subsequent call to a to(...) method will automatically invoke the
ChainableAcceptor.setDefaultNext(LinearAcceptor) method on the chainable
acceptor.
acceptor - a chainable acceptor to be added as a next
acceptor to the linear acceptor chain.
LinearAcceptor build()
LinearAcceptor build(LinearAcceptor terminal)
terminal - last acceptor to be added to the acceptor chain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||