Hi Jerome, 

I've just come across the same problem. I need to get the HttpServletRequest 
from org.restlet.data.Request. I've been trying your code but it's not working 
properly for me. 

It fails here in the following sentence: 

 if (httpCall instanceof ServletCall)  

It just won't enter the 'if' block as httpCall is not an instance of 
ServletCall.


I need to get a HttpServletRequest because my app works with some services 
already defined and developed which need this. I'm trying to integrate REST 
with this so that I can consider every single service as a REST resource with 
an URI associated to it. 

So, how could I get an HttpServletRequest from a org.restlet.data.Request ?

any ideas?

thank you!

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

Reply via email to