docs: String getPath() {
      StringBuilder result = new StringBuilder();
  
      boolean first = true;
      for (String part : getSegments()) {
        if (first) {
          result.append(part);
          first = false;
        } else {
          result.append("/").append(part);
        }
      }
  
      return result.toString();
    }