code: public static String toJobBaseUrl(final FolderJob folder, final String jobName) {
          final StringBuilder sb = new StringBuilder(DEFAULT_BUFFER_SIZE);
          sb.append(UrlUtils.toBaseUrl(folder));
          if (sb.charAt(sb.length() - 1) != '/') sb.append('/');
          sb.append("job/");
          final String[] jobNameParts = jobName.split("/");
          
          for (int i = 0; i < jobNameParts.length; i++) {
              sb.append(EncodingUtils.encode(jobNameParts[i]));
              if (i != jobNameParts.length - 1) sb.append('/');
          }
          return sb.toString();
      }
docs: Helper to create the base url for a job, with or without a given folder
  @param folder the folder or {@code null}
  @param jobName the name of the job.
  @return converted base url.