()
| 38 | } |
| 39 | |
| 40 | public void init() { |
| 41 | wildcard = getHosts().stream().anyMatch(host -> host.contains("*")); |
| 42 | uris = getUrls().stream().map(Uri::parse).filter(this::isValid).toList(); |
| 43 | proxies = uris.stream().map(this::create).filter(Objects::nonNull).toList(); |
| 44 | } |
| 45 | |
| 46 | public String getName() { |
| 47 | return TextUtils.isEmpty(name) ? "" : name; |