@Test(expected = RuntimeException.class) public void invalidUrl() { URLInfo.parse("localhost:8080"); }
public static URLInfo parse(String url) { return parse(url, null); }
URLInfo { public static URLInfo parse(String url) { return parse(url, null); } }
URLInfo { public static URLInfo parse(String url) { return parse(url, null); } URLInfo(String protocol, String host,
                   int port, String path, boolean secure); }
URLInfo { public static URLInfo parse(String url) { return parse(url, null); } URLInfo(String protocol, String host,
                   int port, String path, boolean secure); static int getDefaultPort(String scheme); static boolean getDefaultProtocolSecurity(String scheme); boolean getTrustAllCertificates(); static URLInfo parse(String url); static URLInfo parse(String url, Boolean secureOverride); void setTrustAllCertificates(boolean trust); }
URLInfo { public static URLInfo parse(String url) { return parse(url, null); } URLInfo(String protocol, String host,
                   int port, String path, boolean secure); static int getDefaultPort(String scheme); static boolean getDefaultProtocolSecurity(String scheme); boolean getTrustAllCertificates(); static URLInfo parse(String url); static URLInfo parse(String url, Boolean secureOverride); void setTrustAllCertificates(boolean trust); final String protocol; final String host; final int port; final String path; final boolean secure; }