spring-framework / org.springframework.web.util / CookieGenerator / setCookieHttpOnly

setCookieHttpOnly

open fun setCookieHttpOnly(cookieHttpOnly: Boolean): Unit

Set whether the cookie is supposed to be marked with the "HttpOnly" attribute.

Default is "false".

See Also
javax.servlet.http.Cookie#setHttpOnly