On Thu, Jul 15, 2010 at 09:52, Bertrand Delacretaz
<[email protected]> 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) {
>  }
> }

To be in line with the javax.servlet.Servlet interface that has
service() as its main method, what about calling the method
"serviceAsync()" or "serviceInBackground()"?

Just my 2 cents...
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to