You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Jira)" <ji...@apache.org> on 2020/02/06 08:56:00 UTC

[jira] [Created] (SLING-9055) Implement a new SlingServletPathsStrict annotation

Bertrand Delacretaz created SLING-9055:
------------------------------------------

             Summary: Implement a new SlingServletPathsStrict annotation
                 Key: SLING-9055
                 URL: https://issues.apache.org/jira/browse/SLING-9055
             Project: Sling
          Issue Type: Improvement
          Components: Servlets
    Affects Versions: Sling Servlet Annotations 1.2.4
            Reporter: Bertrand Delacretaz
            Assignee: Bertrand Delacretaz


We need a new annotation to use the new {{sling.servlet.paths.strict}} mode introduced by SLING-8110, allowing to specify the extension, selectors and methods (all optional) that this mode takes into account.

As discussed on the Sling dev list, this annotation should use a {{@Requirement}} meta-annotation [1] to generate an OSGi requirement for the version of the 
{{o.a.s.servlets.resolver}} bundle which includes this functionality.

[1] https://osgi.org/specification/osgi.core/7.0.0/framework.api.html#org.osgi.annotation.bundle.Requirement



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