Files
spring-framework/src/dist
Rossen Stoyanchev cfe2af7690 Use the type of the actual return value in @MVC
The new @MVC support classes select a HandlerMethodArgumentResolver
and a HandlerMethodReturnValueHandler statically, i.e. based on
the signature of the method, which means that a controller method
can't declare a more general return type like Object but actually
return a more specific one, e.g.  String vs RedirectView, and
expect the right handler to be used.

The fix ensures that a HandlerMethodReturnValueHandler is selected
based on the actual return value type, which is something that was
supported with the old @MVC support classes. One consequence
of the change is the selected HandlerMethodReturnValueHandler can
no longer be cached but that matches the behavior of the old
@MVC support classes.

Issues: SPR-9218
2012-04-06 16:50:22 -04:00
..

Spring Framework version ${version}
=================================================

To find out what has changed since any earlier releases, see 'changelog.txt'.

Please consult the documentation located within the 'docs/reference' directory
of this release and also visit the official Spring Framework home at
http://www.springsource.org/spring-framework

There you will find links to the forum, issue tracker, and other resources.

See https://github.com/SpringSource/spring-framework#readme for additional
information including instructions on building from source.