<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">&lt;<a href="mailto:aemmanou@redhat.com" target="_blank">aemmanou@redhat.com</a>&gt;</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 &quot;<a href="http://www.server.com/car" target="_blank">http://www.server.com/car</a>&quot; URL, shouldn&#39;t it be &quot;<a href="http://www.server.com/cars" target="_blank">http://www.server.com/cars</a>&quot; (plural)? 
</blockquote>
<blockquote type="CITE">
    ==&gt; and the later mentioned HTTP methods, e.g. &quot;GET:/car&quot; ==&gt; &quot;GET:/cars&quot;?<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">
    ==&gt; Pipe&lt;Car&gt; pipe = new RestAdapter&lt;pipe&gt;(Car.class, new URL(&quot;<a href="http://www.server.com/" target="_blank">http://www.server.com/</a>&quot;));
</blockquote>
<blockquote type="CITE">
    <br>
</blockquote>
<br></div>
Except that, maybe this line should change to Pipe&lt;Car&gt; pipe = new RestAdapter&lt;<b>Car</b>&gt;(Car.class, new URL(&quot;<b><a href="http://www.server.com/car" target="_blank">http://www.server.com/car</a></b>&quot;)); in order to match the URLs of the described web service. <br>
</div></blockquote><div><br></div><div><br></div><div style>I don&#39;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,&#39;Courier New&#39;,monospace;font-size:12px;line-height:18px;white-space:pre-wrap">pipe.read() won&#39;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>