On Thu, Jan 3, 2013 at 11:24 AM, Daniel Bevenius <daniel.bevenius@gmail.com> wrote:
We've pushed a version of AeroGear Controller with support for request parameters (AEROGEAR-671) to openshift.

This demo has the following new route added to it:

route()
      .from("/cars")
      .on(RequestMethod.GET)
      .produces(MediaType.JSON.toString(), "application/custom")
      .to(Home.class).get(param("color", "pink"), param("brand", "mini"));



Hrm, not sure if I like having the default values for the parameters inside of the routing definition.

-Matthias


--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf