Demonstrates use of Content Negotiation with Spring MVC
Switch branches/tags
Nothing to show
Clone or download
paulc4 Update pom.xml
Project name updated.
Latest commit 2af01b7 Sep 1, 2013

README.md

mvc-content-neg

Demonstration application showing the use of Content Negotiation with Spring MVC, REST and HTTP Message Converters.

The most interesting files are:

AccountController showing the use of @RequestMapping methods with produces property.

mvc-config.xml showing the underlying configuration in XML.

mvc-java-config.xml which uses Java Configuration instead, via the MvcConfiguration class.