route().from("/aero/facilities/byUsername/{username}").on(RequestMethod.GET).consumes(JSON).produces(MediaType.JSON).to(MyAerogearFacade.class).getFacilityByUsername(param("username"));
curl --header "Accept: application/json" http://localhost:8080/farming/aero/facilities/byUsername/user1
Hey,We need a bit more info here ;)What is the route you defined and Can you paste your CURL ?Thx,Seb
On Wed, Apr 10, <a href="tel:2013" value="+3522013" target="_blank">2013 at 6:56 AM, tomlux <[hidden email]> wrote:
[hidden email]Hy,
I created a custom route (non CRUD) in my aerogear facade.
Using curl, I'm getting the expected results:
What is the easiest way to consume this route in "aerogear-android"?
As far as I understand, the pipe concept is just valid for the predefined
CRUD routes.
I also tried to solve my problem with "ReadFilter.setWhere", but I don't
know how I can/should configure this in the controller. The url was
correctly build, but the where condition wasn't repectet.
Thanks,
Tom
--
View this message in context: http://aerogear-dev.1069024.n5.nabble.com/Integrate-custom-route-into-aerogear-android-tp2230.html
Sent from the aerogear-dev mailing list archive at Nabble.com.
_______________________________________________
aerogear-dev mailing list
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/aerogear-dev
If you reply to this email, your message will be added to the discussion below:http://aerogear-dev.1069024.n5.nabble.com/Integrate-custom-route-into-aerogear-android-tp2230p2232.html