Hi Valdis, You can have a look at the private internal JettyServerHelper.WrappedServerclass in the Jetty extension. It is a subclass of org.mortbay.jetty.Server which implements Jetty's Handler interface.
Best regards, Jerome 2007/12/11, keke <[EMAIL PROTECTED]>: > > I think you can try Jetty connector. > http://www.restlet.org/documentation/1.0/connectors#jetty On Dec 11, 2007 12:11 AM, Valdis Rigdon < [EMAIL PROTECTED]> wrote: > > > 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. > > > -- > We paranoid love life

