code: public static String toViewBaseUrl(final FolderJob folder, final String name) {
          final StringBuilder sb = new StringBuilder(DEFAULT_BUFFER_SIZE);
          final String base = UrlUtils.toBaseUrl(folder);
          sb.append(base);
          if (!base.endsWith("/")) sb.append('/');
          sb.append("view/")
            .append(EncodingUtils.encode(name));
          return sb.toString();
      }
docs: Helper to create the base url for a view, with or without a given folder
  @param folder the folder or {@code null}
  @param name the of the view.
  @return converted view url.