code: public static URLBuilder createFromPath(String path)
    {
      URLBuilder res = new URLBuilder();
      res.setPath(path);
      return res;
    }
docs: Factory method from a path
  
  @param path the path (will be url encoded!)
  @return the builder