Deprecate CookieGenerator

This commit deprecates CookieGenerator in favor of the more modern
alternative, ResponseCookie.

See gh-28870
This commit is contained in:
Vedran Pavic
2022-07-25 21:37:00 +02:00
committed by rstoyanchev
parent e6c2d44646
commit cde92f5e1d
2 changed files with 3 additions and 0 deletions

View File

@@ -37,7 +37,9 @@ import org.springframework.util.Assert;
* @see #addCookie
* @see #removeCookie
* @see org.springframework.web.servlet.theme.CookieThemeResolver
* @deprecated since 6.0 in favor of {@link org.springframework.http.ResponseCookie}
*/
@Deprecated
public class CookieGenerator {
/**