Spring Framework 4.1 -- Spring MVC Improvements
Recently Juergen Hoeller announced the availability of the first of two 4.1 release candidates. Brian Clozel followed up with a post on the static web resources handling enhancements. Previously Stephane Nicoll blogged about cache and JMS related improvements. The goal of this post is to summarize Spring MVC improvements.
The JDK 1.8 java.util.Optional
is now supported for @RequestParam
, @RequestHeader
and
@MatrixVariable
controller method arguments while ListenableFuture
is supported as a
return value alternative to DeferredResult
where an underlying
service (or perhaps a call to AsyncRestTemplate
) already returns…