Couple<String> (@NotNull String url) { int index = url.indexOf(URLUtil.SCHEME_SEPARATOR); if (index == -1) { return Couple.of("", url); } return Couple.of(url.substring(0, index), url.substring(index+URLUtil.SCHEME_SEPARATOR.length())); }