class UriBuilderImpl extends UriBuilder implements Cloneable {

    @Override
    public UriBuilder replacePath(String path) {
        if (path == null) {
            clearPathAndMatrix();
        } else if (isAbsoluteUriPath(path)) {
            clearPathAndMatrix();
            uri(URI.create(path));
        } else {
            setPathAndMatrix(path);
        }
        return this;
    }

    public  UriBuilderImpl();
    public  UriBuilderImpl(Map<String, Object> properties);
    public  UriBuilderImpl(URI uri);

}