// match for suffix, domain, and host in that order. more general will
// override more specific
String domain = URLUtil.getDomainName(url).toLowerCase().trim();
String host = URLUtil.getHost(url);
String suffix = null;
DomainSuffix domainSuffix = URLUtil.getDomainSuffix(url);
if (domainSuffix != null) {
suffix = domainSuffix.getDomain();
}
if (domainSet.contains(suffix) || domainSet.contains(domain)
|| domainSet.contains(host)) {
// Matches, filter!