filter method
Maps the given URI to the given filter. *
-
uri: a regular expression used to match the request URI.
-
filter: the filter. If it is null, it means removal.
-
preceding- whether to make the mapping preceding any previous mappings.
- In other words, if true, this mapping will be interpreted first.
Implementation
@override
void filter(Pattern uri, RequestFilter filter, {bool preceding = false}) {
_map(_filterMapping, uri, filter, preceding);
}