It would be great if there was a way to invoke an arbitrary predicate method as
a condition - it would accept the request, and return a boolean specifying
whether the condition was met or not. The new configuration element could have
'class' and 'method' attributes similar to the 'run' element, but would be
called to test the condition rather than to run it after the other conditions
and match are already determined.
This could be useful for all sorts of customized conditions, such as custom
lookups, blacklists, whitelists, etc. that are managed by the application and
not hard-coded in urlrewrite.xml.
Original issue reported on code.google.com by amichair on 3 Jul 2014 at 2:36
Original issue reported on code.google.com by
amichair
on 3 Jul 2014 at 2:36