open fun addCookie(response: HttpServletResponse, cookieValue: String): Unit
Add a cookie with the given value to the response, using the cookie descriptor settings of this generator.
Delegates to #createCookie
for cookie creation.
response
- the HTTP response to add the cookie to
cookieValue
- the value of the cookie to add
See Also
#setCookieName#setCookieDomain#setCookiePath#setCookieMaxAge