docs: public void cookie(String domain, String path, String name, String value, int maxAge, boolean secured, boolean httpOnly) {
          Cookie cookie = new Cookie(name, value);
          cookie.setPath(path);
          cookie.setDomain(domain);
          cookie.setMaxAge(maxAge);
          cookie.setSecure(secured);
          cookie.setHttpOnly(httpOnly);
          response.addCookie(cookie);
      }