class HttpURI {

    public void parseRequestTarget(String method, String uri) {
        clear();
        this.uri = uri;

        if (HttpMethod.CONNECT.is(method))
            path = uri;
        else
            parse(uri.startsWith("/") ? State.PATH : State.START, uri, 0, uri.length());
    }

    public  HttpURI();
    public  HttpURI(String scheme, String host, int port, String path, String param, String query, String fragment);
    public  HttpURI(HttpURI uri);
    public  HttpURI(String uri);
    public  HttpURI(URI uri);
    public  HttpURI(String scheme, String host, int port, String pathQuery);

}