code: protected boolean needsTrailingSlashRedirect(HttpServletRequest request, String requestPath, ActionExecute execute) {
          if (isOutOfTrailingSlashRedirect(request, requestPath, execute)) {
              return false;
          }
          if (isSuppressTrailingSlashRedirect(request, requestPath, execute)) {
              return false;
          }
          return isNonTrailingSlashRequest(request, requestPath, execute);
      }
docs: --------------