public HttpRequest createClientRequest() {
            ensureJdiscParent();
            requireUri();
            com.yahoo.jdisc.http.HttpRequest clientRequest;
            if (method == null) {
                clientRequest = com.yahoo.jdisc.http.HttpRequest
                        .newClientRequest(jdiscRequest, uri);
            } else {
                if (version == null) {
                    clientRequest = com.yahoo.jdisc.http.HttpRequest
                            .newClientRequest(jdiscRequest, uri, method);
                } else {
                    clientRequest = com.yahoo.jdisc.http.HttpRequest
                            .newClientRequest(jdiscRequest, uri, method,
                                    version);
                }
            }
            setParameters(clientRequest);
            // TODO set requestData sanely
            return new HttpRequest(clientRequest, requestData, properties);
        }
Start of API for synchronous HTTP request dispatch. Not yet ready for use.

@return a new client request
container-core/src/main/java/com/yahoo/container/jdisc/HttpRequest.java