<!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 "<A HREF="http://www.server.com/car">http://www.server.com/car</A>" URL, shouldn't it be "<A HREF="http://www.server.com/cars">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>
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>
==> Pipe<Car> pipe = new RestAdapter<pipe>(Car.class, new URL("<A HREF="http://www.server.com/">http://www.server.com/</A>"));
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BR>
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">http://www.server.com/car</A></B>")); 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] <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>