spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

Deprecate CookieGenerator

Open vpavic opened this issue 3 years ago • 0 comments

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


Ideally, all Framework generated cookies should be consistent is sense they use the same infrastructure for creating response cookies. CookieGenerator has only two usages that either have PRs to replace them with ResponseCookie (CookieLocaleResolver) or are about to be deprecated (CookieThemeResolver).

Related:

  • https://github.com/spring-projects/spring-framework/pull/28779
  • https://github.com/spring-projects/spring-framework/issues/28868

vpavic avatar Jul 25 '22 20:07 vpavic