RE: Client Custom Header

2010-05-06 Thread Jerome Louvel
://www.restlet.org Noelios Technologies ~ http://www.noelios.com/ http://www.noelios.com De : Jean-Philippe Steinmetz [mailto:caskate...@gmail.com] Envoyé : mercredi 5 mai 2010 18:07 À : discuss@restlet.tigris.org Objet : Re: Client Custom Header Hi Jerome, As I said the server side isn't

RE: Client Custom Header

2010-05-05 Thread Jerome Louvel
[mailto:caskate...@gmail.com] Envoyé : mercredi 5 mai 2010 04:38 À : discuss@restlet.tigris.org Objet : Re: Client Custom Header Since no one seems to have responded to this problem I was hoping someone could shed some light on cookie setting. Similarly to adding my own header to all outgoing client

Re: Client Custom Header

2010-05-05 Thread Jean-Philippe Steinmetz
Steinmetz [mailto:caskate...@gmail.com] Envoyé : mercredi 5 mai 2010 04:38 À : discuss@restlet.tigris.org Objet : Re: Client Custom Header Since no one seems to have responded to this problem I was hoping someone could shed some light on cookie setting. Similarly to adding my own header to all

Re: Client Custom Header

2010-05-04 Thread Jean-Philippe Steinmetz
Since no one seems to have responded to this problem I was hoping someone could shed some light on cookie setting. Similarly to adding my own header to all outgoing client requests I could instead set a cookie. My one requirement here is that I don't want to modify every outgoing request

Re: Client Custom Header

2010-05-03 Thread Jean-Philippe Steinmetz
Hi Stephan, Thank you for the response. I've implemented a filter and created one while setting the next property to be my client but I am not getting any calls to the beforeHandle function. My code looks like the following. class MyFilter extends Filter { public MyFilter() { this(null);

Re: Client Custom Header

2010-05-01 Thread Stephan Koops
Hi Jean, the access is on both sides the same. That's an advantage of Restlet. To add the header for every request you could create a filter. It adds the header. Instead of send the request directly by the Client object you set the Client as next Restlet in the filter and your application