spring-framework/spring-webmvc
Arjen Poutsma 0dc1c7eb8b Add ServerRequest::checkNotModified
This commit adds the checkNotModified method to ServerRequest in both
WebFlux.fn and WebMvc.fn. Unlike other checkNotModified methods found
in the framework, this method does not return a boolean, but rather
a response wrapped in a Mono/Optional. If the resource has
not been changed, the not-modified response can be returned directly;
if the resource has changed, the user can create a corresponding
response using switchIfEmpty/orElse(Get).

Closes gh-24173
2020-03-11 16:45:00 +01:00
..
src Add ServerRequest::checkNotModified 2020-03-11 16:45:00 +01:00
spring-webmvc.gradle Use Gradle test fixture support for spring-web 2020-01-02 16:01:35 +01:00