(String host)
| 60 | } |
| 61 | |
| 62 | public String getUserInfo(String host) { |
| 63 | return getUserInfo(host, "socks"); |
| 64 | } |
| 65 | |
| 66 | public String getUserInfo(String host, String scheme) { |
| 67 | return uris.stream().filter(uri -> isScheme(uri, scheme) && host.equalsIgnoreCase(uri.getHost())).map(Uri::getUserInfo).filter(Objects::nonNull).findFirst().orElse(null); |
no test coverage detected