public HttpUriBuilder replacePath(String path)
    {
        requireNonNull(path, "path is null");

        if (!path.isEmpty() && !path.startsWith("/")) {
            path = "/" + path;
        }

        this.path = path;
        return this;
    }
public HttpUriBuilder replacePath(String path)
    {
        requireNonNull(path, "path is null");

        if (!path.isEmpty() && !path.startsWith("/")) {
            path = "/" + path;
        }

        this.path = path;
        return this;
    }
public HttpUriBuilder replacePath ( String path ) { requireNonNull ( path , "path is null" ) ; if ( ! path . isEmpty ( ) && ! path . startsWith ( "/" ) ) { path = "/" + path ; } this . path = path ; return this ; }
Replace the current path with the given unencoded path
Replace the current path with the given unencoded path