MCPcopy Create free account
hub / github.com/FongMi/TV / getUserInfo

Method getUserInfo

catvod/src/main/java/com/github/catvod/bean/Proxy.java:62–64  ·  view source on GitHub ↗
(String host)

Source from the content-addressed store, hash-verified

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);

Callers 4

findUserInfoMethod · 0.80
findUserInfoMethod · 0.80
interceptMethod · 0.80
checkMethod · 0.80

Calls 4

isSchemeMethod · 0.95
filterMethod · 0.80
streamMethod · 0.80
getHostMethod · 0.45

Tested by

no test coverage detected