Closed
Description
Juergen Hoeller opened SPR-16562 and commented
While HttpHeaders
saw plenty of new methods in 5.0 (e.g. #20220, #19591, #19105, #18979), we are still missing a few quite obvious convenience setters: in particular setCacheControl(CacheControl)
and setExpires(ZonedDateTime)
.
Affects: 5.0 GA
Issue Links:
- Introduce HttpHeaders getContentDisposition() and setContentDisposition() [SPR-14408] #18979 Introduce HttpHeaders getContentDisposition() and setContentDisposition()
- Add HttpHeaders getter and setter for Content-Language [SPR-14536] #19105 Add HttpHeaders getter and setter for Content-Language
- Add HttpHeaders getter and setter for Accept-Language [SPR-15024] #19591 Add HttpHeaders getter and setter for Accept-Language
- Consider using ZonedDateTime in HttpHeaders [SPR-15661] #20220 Consider using ZonedDateTime in HttpHeaders
- Allow java.time types for setting the Last-Modified header [SPR-17571] #22103 Allow java.time types for setting the Last-Modified header
Referenced from: commits 90d768b