DATA- processed data type.
public interface ChainableStage<DATA> extends Stage<DATA>
next acceptorin the chain that should be returned from the chain by default.
The typical use case for implementing the acceptor is a logic that usually
needs to perform some logic, but unlike an
acceptor created from a function} it also needs to be able to decide to override
the default next acceptor and return a different acceptor, effectively branching
away from the original linear acceptor chain. This technique can be e.g. used
to break the accepting chain by returning a custom
|Modifier and Type||Method and Description|
Set the default next stage that should be returned from this stage after it has been invoked by default.
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.