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

setCookieDomain

open fun setCookieDomain(@Nullable cookieDomain: String): Unit

Use the given domain for cookies created by this generator. The cookie is only visible to servers in this domain.

See Also
javax.servlet.http.Cookie#setDomain