public static BasicHttpRequest create(final Method method, final String uri) {
        return create(method, URI.create(uri));
    }
Creates a new {@link BasicHttpRequest}.

@param method a non-null HTTP method.
@param uri a non-null URI String.
@return a new BasicHttpRequest
httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/BasicHttpRequests.java