On Sat, 2013-06-01 at 11:45 +0200, Matthias Wessendorf wrote:
Hi,
reading [1], I have two questions:
* the "http://www.server.com/car" URL, shouldn't it be
"http://www.server.com/cars" (plural)?
==> and the later mentioned HTTP methods, e.g. "GET:/car" ==>
"GET:/cars"?
I agree that it should be plural
* Do we really promote the direct access to the RestAdapter, instead
of via the Pipeline ?
==> Pipe<Car> pipe = new RestAdapter<pipe>(Car.class, new
URL("http://www.server.com/"));
Except that, maybe this line should change to Pipe<Car> pipe = new
RestAdapter<Car>(Car.class, new
URL("http://www.server.com/car")); in
order to match the URLs of the described web service.
Thanks!
Matthias
[1]
aerogear.org/docs/guides/aerogear-android/AerogearAndroidPipes101/
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev