public interface Rule
The parent interface of both
Matcher
and Action
. No other
sub-interfaces are expected, and no direct implementations of this interface
are expected.
Please note that a rule can be both a Matcher
and a Action
.
When it is both, its Matcher
aspect is handled before its Action
.
At this time none of the stock rules are implemented in this fashion. This
type of pattern begins to resemble "routes", which are beyond the scope of
"firewall" and already exist in too many forms within the Java web application
development world.