[ 
https://issues.apache.org/jira/browse/SLING-9055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17058479#comment-17058479
 ] 

Konrad Windszus commented on SLING-9055:
----------------------------------------

The approach from 
https://github.com/apache/sling-org-apache-sling-servlets-annotations/pull/3/files
 seems to work!

> 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
>            Priority: Minor
>             Fix For: Sling Servlet Annotations 1.2.6, Servlets Resolver 2.6.6
>
>
> 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)

Reply via email to