handleGet and Entity

2008-04-29 Thread Surjendu
Even after i am passing an entity in the Request , I am not able to get it in handleGet() method. The same logic works for handlePut() and handlePost(). I am able to retrieve the entities in handlePost() and handlePut(). What is different for handleGet()? Why am I not able to retrieve the entiti

Re: handleGet and Entity

2008-04-30 Thread Thierry Boileau
Surjendu, On server side the entity sent with a GET request is not retrieved. Why do you want to send an entity with a GET resquest? GET mean only that you want to retrieve a representation of a resource. regards, Thierry Boileau Even after i am passing an entity in the Request , I am not abl

Re: handleGet and Entity

2008-04-30 Thread Surjendu
I do understand that GET is read-only. Say u want to retrieve SSN number of an individual. Before sending the SSN number we also need to see whether the user asking for the data is authorized to view that or not. I am not talking about Guard class authentication or authorization( custom authorizati

Re: handleGet and Entity

2008-04-30 Thread Rob Heittman
In practice, sending an entity with a GET request will not work reliably across many proxies and filters. Not only will some of these mechanisms elide the entity (as Restlet does), but caching policies will also probably not do what you expect. If you need to send an entity and examine it to deci