Hi Mark,

HTTP response codes map to the Status class in Restlet. This class contains
both the code and the reason phrase.

You can either use constant of instantiate a new Status via the static
valueOf(int code) method.

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 : Mark Petrovic [mailto:[EMAIL PROTECTED] 
Envoye : lundi 6 octobre 2008 17:19
A : discuss@restlet.tigris.org
Objet : How to set the HTTP response code in a restlet response

Good day.

Would someone be kind enough to explain how to set, or induce, the  
Restlet response to a request to a particular value?

Thanks.

Reply via email to