You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2018/12/13 13:05:39 UTC

[GitHub] raducotescu commented on a change in pull request #2: SLING-8170 - Allow Sling servlets to declare a resource super type

raducotescu commented on a change in pull request #2: SLING-8170 - Allow Sling servlets to declare a resource super type
URL: https://github.com/apache/sling-org-apache-sling-servlets-annotations/pull/2#discussion_r241391599
 
 

 ##########
 File path: src/main/java/org/apache/sling/servlets/annotations/SlingServletResourceTypes.java
 ##########
 @@ -43,18 +43,26 @@
      * @return the resource type(s)
      */
     String[] resourceTypes();
-    
+
+    /**
+     * The resource super type from which the servlet inherits (value is "sling.servlet.resourceSuperType").
+     *
+     * @return the resource super type
 
 Review comment:
   Yes, I was just doing this for the "Servlets and Scripts" site page and was thinking that it would be worth adding this info here too. :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services