code: public Controller setCookie(String name, String value, int maxAgeInSeconds, String path, boolean isHttpOnly) {
  		return doSetCookie(name, value, maxAgeInSeconds, path, null, isHttpOnly);
  	}
docs: Set Cookie to response.
  @param name cookie name
  @param value cookie value
  @param maxAgeInSeconds -1: clear cookie when close browser. 0: clear cookie immediately.  n>0 : max age in n seconds.
  @param path see Cookie.setPath(String)
  @param isHttpOnly true if this cookie is to be marked as HttpOnly, false otherwise