Hi Faisal,

If you use Restlet Resource subclasses, the conditional gets should be
handled automatically for you. You just need to set the Representation#tag
property on your result entities.
 
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
 

-----Message d'origine-----
De : Faisal [mailto:faisal-f.k...@ubs.com] 
Envoyé : jeudi 19 mars 2009 17:54
À : discuss@restlet.tigris.org
Objet : Example of using the Tag class with Restlet

Hi,

I am struggling to find an example of how to implement etag functionality in
my restlet service. Have tried to search but to no avail.

Can anyone provide example of how I can verify the state of the tag and
content so as to decide whether to send the new XML response or content not
modified response.

Thanks
Faisal
--
View this message in context:
http://n2.nabble.com/Example-of-using-the-Tag-class-with-Restlet-tp2504042p2
504042.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

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

Reply via email to