You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Santiago García Pimentel (JIRA)" <ji...@apache.org> on 2017/12/21 15:23:00 UTC

[jira] [Created] (SLING-7321) ChildResourceViaProvider should be able to deal with SlingHttpServletRequest

Santiago García Pimentel created SLING-7321:
-----------------------------------------------

             Summary: ChildResourceViaProvider should be able to deal with SlingHttpServletRequest
                 Key: SLING-7321
                 URL: https://issues.apache.org/jira/browse/SLING-7321
             Project: Sling
          Issue Type: Improvement
            Reporter: Santiago García Pimentel
            Priority: Minor


The ForcedResourceType and ResourceSuperType are able to deal with Sling requests by creating a wrapper request that returns a wrapped Request.

Still, the ChildResourceViaProvider does not offer such possibility. I think that for sake of consistency it should.

I propose that if the adaptable is a SlingHttpServletRequest the ChildResourceViaProvider  should create a request wrapper that returns the child as given in 'value'



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)