Hi again...

by the way the JAX-RS module has already a dependency on the servlet
API 
(http://restlet.tigris.org/source/browse/*checkout*/restlet/trunk/modules/org.restlet.ext.jaxrs/pom.xml?revision=5522&content-type=text%2Fplain)

-Fabio

On Thu, Mar 25, 2010 at 12:35 PM, Jerome Louvel
<jerome.lou...@noelios.com> wrote:
> Hi guys,
>
> Sorry for being late to the discussion.
>
> The dependency on the Servlet API is an issue indeed, but I think you should
> be able to achieve what you want by injecting the Restlet request/response
> and then from that retrieving the Servlet request/response.
>
> org.restlet.ext.servlet.internal.ServletCall class has this static method to
> help:
> getRequest(org.restlet.Request) : HttpServletRequest
>
> In order to make this more obvious, I've just added to SVN trunk a
> ServletUtils class to the Servlet extension with two static methods to
> easily retrieve the Servlet request/response.
>
> Best regards,
> Jerome Louvel
> --
> Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
> Noelios Technologies ~ http://www.noelios.com
>
>

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

Reply via email to