private boolean matchUri(List<UrlFilter> list, String uri) { for (UrlFilter filter : list) { if (filter.matches(uri)) return true; } return false; }