Affects Version/s: Engine 2.0.6
Fix Version/s: None
As discussed in http://markmail.org/thread/ldayz27ehldyvzr4 the tight coupling between RequestData and SlingHttpServletRequestImpl makes it impossible to use request classes that just implement SlingHttpServletRequest.
I need this for example for SLING-550, where servlets run outside of the container's request/response cycle.
I'll attach a patch that reduces coupling by grabbing the RequestData from a request attribute instead of relying on the SlingHttpServletRequestImpl class to provide it. All tests including integration pass with this patch.
|Workflow||no-reopen-closed,doc-test-required [ 12515665 ]||Copy of no-reopen-closed,doc-test-required [ 12763372 ]|
|Workflow||Copy of no-reopen-closed,doc-test-required [ 12763372 ]||no-reopen-closed,doc-test-required [ 12765393 ]|
|Workflow||no-reopen-closed,doc-test-required [ 12765393 ]||re-open possible,doc-test-required [ 12787669 ]|
|Workflow||re-open possible,doc-test-required [ 12787669 ]||no-reopen-closed,doc-test-required [ 12792682 ]|