@Test public void generateHostPortsByServerNamesFromUriTest() { List<InetSocketAddress> hostPortsByServerNames = UriUtils.parseInetSocketAddresses("terracotta: assertEquals(hostPortsByServerNames, Arrays.asList( InetSocketAddress.createUnresolved("server1", 9510), InetSocketAddress.createUnresolved("server2", 9511) )); }
public static List<InetSocketAddress> parseInetSocketAddresses(String uri) { return parseInetSocketAddresses(uri, 9410); }
UriUtils { public static List<InetSocketAddress> parseInetSocketAddresses(String uri) { return parseInetSocketAddresses(uri, 9410); } }
UriUtils { public static List<InetSocketAddress> parseInetSocketAddresses(String uri) { return parseInetSocketAddresses(uri, 9410); } private  UriUtils(); }
UriUtils { public static List<InetSocketAddress> parseInetSocketAddresses(String uri) { return parseInetSocketAddresses(uri, 9410); } private  UriUtils(); static List<String> parseSegments(String uri); static List<InetSocketAddress> parseInetSocketAddresses(String uri); static List<InetSocketAddress> parseInetSocketAddresses(String uri, int defaultPort); static String parseScheme(String uri); static String parseAuthority(String uri); static String parseUserInfo(String uri); static String parsePath(String uri); static String parseQuery(String uri); static String appendSegmentToPath(String path, String segment); }
UriUtils { public static List<InetSocketAddress> parseInetSocketAddresses(String uri) { return parseInetSocketAddresses(uri, 9410); } private  UriUtils(); static List<String> parseSegments(String uri); static List<InetSocketAddress> parseInetSocketAddresses(String uri); static List<InetSocketAddress> parseInetSocketAddresses(String uri, int defaultPort); static String parseScheme(String uri); static String parseAuthority(String uri); static String parseUserInfo(String uri); static String parsePath(String uri); static String parseQuery(String uri); static String appendSegmentToPath(String path, String segment);  }