Bertrand Delacretaz wrote > On Wed, Jul 14, 2010 at 6:54 PM, Alexander Klimetschek <[email protected]> > wrote: >> On Wed, Jul 14, 2010 at 18:02, Carsten Ziegeler <[email protected]> wrote: >>> ...Why not creating plain http servlet request objects and then going >>> through the sling main servlet? >> >> Interesting, how would you do that? I always thought the request >> dispatcher is meant for this.... > > I'll experiment today with adding the following interface to the Sling > API and having the SlingMainServlet implement it: > > /** Process an HTTP request outside of the servlet container's > * request/response cycle */ > public interface BackgroundRequestProcessor { > void processRequest(HttpServletRequest req, HttpServletResponse res) { > } > } > Yes, I think this is a better alternative and I had several potential use cases for such a service in the past.
Regards Carsten -- Carsten Ziegeler [email protected]
