RE: passing java objects

2011-10-19 Thread Hoshang Varshney
Is it possible to send Java object (say MapK,V object) along with the URI in the payload from client to server? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2858745

Re: passing java objects

2011-10-19 Thread Tim Peierls
Yes, as the entity of a POST or PUT message, for example. Note that in either direction there are limitations when using parameterized types. In general, encoding for transport loses type parameter information, and the decoding side can't recover that information. The simplest general solution

404 with restlet - different behaviour with different browsers

2011-10-19 Thread pkk
Hi. I have a problem with restlet. I use restlet 2.0.10 on jboss 5.1.0 with spring integration. I have a restlet server (SpringServerServlet) under /checkService/*. I don't understand why when I put for example http://localhost:8080/context/checkServic I get JBoss 404 message which is the

Partial content when using GZip encoding in restlet-2.1rc1

2011-10-19 Thread Gijs Kruitbosch
Hello, We're trying to enable GZip encoding so as to speed up some of the requests our application is handling. In our Application constructor, we're calling: this.setEncodingService(new EncodingService(true)); This does seem to enable gzip encoding, judging from the headers sent, but

Authorization Header vs. ChallengeResponse

2011-10-19 Thread Alex Milowski
I keep finding the choice of ChallengeResponse for the Authorization header a poor match. If you look at some of the OAuth specifications, you see uses like the Bearer credential [1] where the Authorization header contains an access token. There is no regular match between a ChallengeRequest and