You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "David Gonzalez (Jira)" <ji...@apache.org> on 2019/10/25 20:17:00 UTC

[jira] [Created] (SLING-8804) Mock SlingHttpServletRequest should follow same caching as SlingHttpServletRequest

David Gonzalez created SLING-8804:
-------------------------------------

             Summary: Mock SlingHttpServletRequest should follow same caching as SlingHttpServletRequest
                 Key: SLING-8804
                 URL: https://issues.apache.org/jira/browse/SLING-8804
             Project: Sling
          Issue Type: Improvement
    Affects Versions: Servlet Helpers 1.2.0
            Reporter: David Gonzalez


The Sling Engine it is one of the few places which does not extend SlingAdaptable and thus does not cache the results. however, the mock implementation of SlingHttpServletRequest used in the mocks extends from SlingAdaptable an thus does the caching.

It would be good to remove this caching from the mocked SlingHttpServletRequest to be as close to Sling as possible.

Issue original reported via: [https://wcm-io.atlassian.net/browse/WTES-46]

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)