HttpUriBuilder { public static HttpUriBuilder uriBuilderFrom(URI uri) { requireNonNull(uri, "uri is null"); return new HttpUriBuilder(uri); } private  HttpUriBuilder(); private  HttpUriBuilder(URI previous); static HttpUriBuilder uriBuilder(); static HttpUriBuilder uriBuilderFrom(URI uri); HttpUriBuilder scheme(String scheme); HttpUriBuilder host(String host); HttpUriBuilder port(int port); HttpUriBuilder defaultPort(); HttpUriBuilder hostAndPort(HostAndPort hostAndPort); HttpUriBuilder replacePath(String path); HttpUriBuilder appendPath(String path); HttpUriBuilder replaceParameter(String name, String... values); HttpUriBuilder replaceParameter(String name, Iterable<String> values); HttpUriBuilder addParameter(String name, String... values); HttpUriBuilder addParameter(String name, Iterable<String> values); HttpUriBuilder replaceRawQuery(String rawQuery); @Override String toString(); URI build();  }
@Test public void testAcceptsHttpAndHttpScheme() { uriBuilderFrom(URI.create("http: uriBuilderFrom(URI.create("https: uriBuilderFrom(URI.create("HTTP: uriBuilderFrom(URI.create("HTTPS: }