/mvc-content-neg

Demonstrates use of Content Negotiation with Spring MVC

Primary LanguageJava

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.