@Deprecated
    public static URI create(final String scheme, final URIAuthority host, final String path) throws URISyntaxException {
        final URIBuilder builder = new URIBuilder(path);
        if (scheme != null) {
            builder.setScheme(scheme);
        }
        if (host != null) {
            builder.setHost(host.getHostName()).setPort(host.getPort());
        }
        return builder.build();
    }
Convenience factory method for {@link URI} instances.

@since 5.0

@deprecated Use {@link URIBuilder}.
httpclient5/src/main/java/org/apache/hc/client5/http/utils/URIUtils.java