code: public static void setExpiresSeconds(@NotNull HttpServletResponse response, int seconds) {
      Date expiresDate = DateUtils.addSeconds(new Date(), seconds);
      setExpires(response, expiresDate);
    }
docs: Set expires header to given amount of seconds in the future.
  @param response Response
  @param seconds Seconds to expire