code: public Response cookie(String path, String domain, String name, String value, int maxAge, boolean secure) {
          Cookie cookie = new Cookie(name, value);
          cookie.setPath(path);
          cookie.setDomain(domain);
          cookie.setMaxAge(maxAge);
          cookie.setSecure(secure);
          addCookie(cookie);
  
          return this;
      }
docs: Adds a cookie to the response.
  
  @param path
  @param domain
  @param name
  @param value
  @param maxAge
  @param secure
  @return the response