Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9055

Implement a new SlingServletPathsStrict annotation

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: