@Test public void host_convertCharactersToLowerCase() { assertEquals("abcd", Urls.http("ABCD").create().host().display()); assertEquals("σ", Urls.http("Σ").create().host().display()); }
public static UrlBuilder http(String host) { return new UrlBuilder(Scheme.HTTP, host); }
Urls { public static UrlBuilder http(String host) { return new UrlBuilder(Scheme.HTTP, host); } }
Urls { public static UrlBuilder http(String host) { return new UrlBuilder(Scheme.HTTP, host); } private  Urls(); }
Urls { public static UrlBuilder http(String host) { return new UrlBuilder(Scheme.HTTP, host); } private  Urls(); @Nonnull static URI createURI(@Nonnull String fullUrl); @Nonnull static String escape(@Nonnull String url); static UrlBuilder http(String host); static UrlBuilder https(String host); @Nonnull static Url parse(String url); }
Urls { public static UrlBuilder http(String host) { return new UrlBuilder(Scheme.HTTP, host); } private  Urls(); @Nonnull static URI createURI(@Nonnull String fullUrl); @Nonnull static String escape(@Nonnull String url); static UrlBuilder http(String host); static UrlBuilder https(String host); @Nonnull static Url parse(String url);  }