<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 1, 2013 at 3:56 PM, Apostolos Emmanouilidis <span dir="ltr"><<a href="mailto:aemmanou@redhat.com" target="_blank">aemmanou@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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">
<br>
<br>
</blockquote>
<blockquote type="CITE">
reading [1], I have two questions:
</blockquote>
<blockquote type="CITE">
<br>
<br>
</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"><br>
<br>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<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>
<blockquote type="CITE">
<br>
</blockquote>
<br></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><br></div><div style>I don't know the android details implementation but if we define the URL like and we call a read after that like <span style="background-color:transparent;color:inherit;font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:12px;line-height:18px;white-space:pre-wrap">pipe.read() won't we end up with an url like that </span> <b><a href="http://www.server.com/car" target="_blank">http://www.server.com/car</a>/car ? </b></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>
<br>
<blockquote type="CITE">
<br>
</blockquote>
<blockquote type="CITE">
Thanks!
</blockquote>
<blockquote type="CITE">
Matthias
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
<br>
<br>
</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>
<br>
</blockquote>
<blockquote type="CITE">
<pre>_______________________________________________
aerogear-dev mailing list
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div></div>