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

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