On Fri, Jan 8, 2010 at 5:31 PM, Ian Boston <[email protected]> wrote:
> ...We have been trying to implement a Batch method processor (ie a servlet 
> that performs multiple requests batching
> the responses up into a single request/response) in Sling.
>
> Normally with servlets this would require 
> requestDispacher.forward(wrappedRequest, wrappedResponse) but this doent
> work since Sling unwrapps all request back to a internal 
> SlingHttpServletRequestImpl object...

I'm hitting the same problem in my work on SLING-550, created
https://issues.apache.org/jira/browse/SLING-1596 with a suggested
patch, also at http://codereview.appspot.com/1783044

My solution is not perfect, to be clean I think we'd need to make
RequestData a first-class interface instead of an implementation
class, but my patch already decreases coupling a bit.

Reviews welcome.
-Bertrand

Reply via email to