public static HttpRequest createRequest(CurrentContainer container,
                                            URI uri, Method method, InputStream requestData,
                                            Map<String, String> properties) {
        com.yahoo.jdisc.http.HttpRequest clientRequest = 
                com.yahoo.jdisc.http.HttpRequest.newClientRequest(new Request(container, uri), uri, method);
        setProperties(clientRequest, properties);
        return new HttpRequest(clientRequest, requestData);
    }
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
@param properties a set of properties to set in the request in addition to the implicit ones from the URI
@return a new HTTP request
container-core/src/main/java/com/yahoo/container/jdisc/HttpRequest.java