Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In Sling scripts and servlets are equal [0]. However, currently a servlet cannot declare a resource super type property, in order to allow delegation / overlaying at runtime to another servlet, similar to how component scripts can do it through the sling:resourceSuperType optional property.
Adding support for another registration property - sling.servlet.resourceSuperType - that accepts a String as value would allow to introduce a backwards compatible overlaying and inheritance capability. This property should only be considered for the registration together with the sling.servlet.resourceTypes.
Attachments
Issue Links
- is related to
-
SLING-8184 Rely on the sling.servlet.resourceSuperType to optimise servlet registration
- Closed
- links to