code: private void setThresholdAttributes(List<String> thresholdIds, HttpServletRequest request) throws APIException {
          if (thresholdIds == null || thresholdIds.isEmpty()) {
              return;
          }
  
          request.setAttribute("thresholdsPresent", Boolean.TRUE);
          List<ThresholdStatusBean> thresholdStatusBeans = getThresholdBeans(getThresholdAPI().getThresholdStatuses(thresholdIds.toArray(new String[0])));
          request.setAttribute("thresholds", thresholdStatusBeans);
      }
docs: Sets threshold specific attributes, required to show thresholds on page.
  @param thresholdIds Threshold IDs, tied to given producers
  @param request {@link HttpServletRequest}