You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow java.time types for setting the Last-Modified header [SPR-17571] #22103
org.springframework.http.ResponseEntity.HeadersBuilder.lastModified and org.springframework.http.HttpHeaders.setLastModified only accept the date as long.
This long value is then internally converted to a java.time.Instant and a java.time.ZonedDateTime.
I propose to add overloads for the methods listed above which directly accept the "new" java.time types.
Activity