SpringSource/spring-hateoas — pull request #71 by dschulten (2013-05-18 17:44:43+00:00)
Title: Added ControllerActionBuilder with createActionFor method.

Improved support for requests which require that the client sends data to the server. The goal is not to rely on out-of-band information for this.

The new ActionDescriptor allows to create responses which tell the client how to send data to a resource, e.g. how to build POST and PUT bodies or which GET parameters to use in a query.

See the javadoc of ControllerActionBuilder and HtmlResourceMessageConverter for usage and SamplePersonController and HtmlResourceMessageConverterTest-context.xml for an example.
Currently using spring-test-mvc with WebContextLoader to stay compatible with Spring 3.1.x