I've been working on XMPP URI support in my Xeerkat
project.  I put up some simple documentation at:

   http://code.google.com/p/xeerkat/wiki/xmppscheme

Any feedback would be appreciated.

One question I have is around method semantics.  In
several cases, a GET or POST method would have
the same semantics.

For example:

Request request = new Request(Method.POST,new
Reference("xmpp:[email protected]/desktop?message;body=hello+world"));
Response response = getContext().getClientDispatcher().handle(request);

or

Request request = new Request(Method.GET,new
Reference("xmpp:[email protected]/desktop?message;body=hello+world"));
Response response = getContext().getClientDispatcher().handle(request);

would both end up sending a message to '[email protected]/desktop'
of 'hello world'.

The question remains whether this is the right semantics for
these methods.

Certainly, when I get to sending additional data that isn't
embedded in the URI, I'll need to use POST.

--Alex Milowski

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2668327

Reply via email to