Is there a way to wire up Restlet and Jetty without using the ServletHandler? We are currently using the ServletHandler and have the Restlets deployed as a separate web application within Jetty, which works, but I was hoping to find an implementation of a Jetty Handler which I can wire up myself to Jetty.

In short, we are configuring/starting Jetty via Spring and plugging in our own handlers and handler collections for stats gathering, request logging, etc. I was hoping we could set a specific Jetty Handler/ContextHandler to delegate the call to Restlet instead of having to go through the ServletHandler and then to Restlet. Why do this? Mainly to reduce another level on configuration for the application, ie, the web.xml for our REST API. I realize this couples us to Jetty, but that's ok.

I've dug through the Restlet Jetty extension and didn't see anything immediate that would solve this.

Reply via email to