public static HttpRequest createRequest(CurrentContainer container, URI uri,
                                            Method method, InputStream requestData) {
        return createRequest(container, uri, method, requestData, null);
    }
Create a new HTTP request from an URI.

@param container the current container instance
@param uri the request parameters
@param method GET, POST, etc
@param requestData the associated data stream, may be null
@return a new HTTP request
container-core/src/main/java/com/yahoo/container/jdisc/HttpRequest.java