<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.4">
</HEAD>
<BODY>
<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">http://www.server.com/car</A>&quot; URL, shouldn't it be &quot;<A HREF="http://www.server.com/cars">http://www.server.com/cars</A>&quot; (plural)?&nbsp;
</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>
I agree that it should be plural<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;&nbsp;Pipe&lt;Car&gt; pipe = new RestAdapter&lt;pipe&gt;(Car.class, new URL(&quot;<A HREF="http://www.server.com/">http://www.server.com/</A>&quot;));
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
</BLOCKQUOTE>
<BR>
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">http://www.server.com/car</A></B>&quot;)); in order to match the URLs of the described web service. <BR>
<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]&nbsp;<A HREF="http://aerogear.org/docs/guides/aerogear-android/AerogearAndroidPipes101/">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">aerogear-dev@lists.jboss.org</A>
<A HREF="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>