<div dir="ltr">On Sat, Jun 1, 2013 at 10:56 AM, Apostolos Emmanouilidis <span dir="ltr"><<a href="mailto:aemmanou@redhat.com" target="_blank">aemmanou@redhat.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><div class="im">
<br>
On Sat, 2013-06-01 at 11:45 +0200, Matthias Wessendorf wrote:
<blockquote type="CITE">
Hi,</blockquote>
<blockquote type="CITE">
reading [1], I have two questions:</blockquote>
<blockquote type="CITE">
* the "<a href="http://www.server.com/car" target="_blank">http://www.server.com/car</a>" URL, shouldn't it be "<a href="http://www.server.com/cars" target="_blank">http://www.server.com/cars</a>" (plural)?
</blockquote>
<blockquote type="CITE">
==> and the later mentioned HTTP methods, e.g. "GET:/car" ==> "GET:/cars"?<br>
</blockquote>
<br></div>
I agree that it should be plural<div class="im">
<blockquote type="CITE">
* Do we really promote the direct access to the RestAdapter, instead of via the Pipeline ?
</blockquote>
<blockquote type="CITE">
==> Pipe<Car> pipe = new RestAdapter<pipe>(Car.class, new URL("<a href="http://www.server.com/" target="_blank">http://www.server.com/</a>"));</blockquote></div>
Except that, maybe this line should change to Pipe<Car> pipe = new RestAdapter<<b>Car</b>>(Car.class, new URL("<b><a href="http://www.server.com/car" target="_blank">http://www.server.com/car</a></b>")); in order to match the URLs of the described web service. <br>
</div></blockquote><div><br></div><div style>Good catch. Tks</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<blockquote type="CITE">
Thanks!
</blockquote>
<blockquote type="CITE">
Matthias</blockquote>
<blockquote type="CITE">
[1] <a href="http://aerogear.org/docs/guides/aerogear-android/AerogearAndroidPipes101/" target="_blank">aerogear.org/docs/guides/aerogear-android/AerogearAndroidPipes101/</a>
</blockquote>
<blockquote type="CITE"><br></blockquote></div></blockquote></div></div></div>