You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2018/05/29 08:18:34 UTC
[sling-org-apache-sling-servlets-annotations] 02/09: SLING-7624
clarify javadoc on selector matching
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-annotations.git
commit a93c95fc26519df14949e7c8ded21de8439f2bb4
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sun May 13 12:12:30 2018 +0200
SLING-7624 clarify javadoc on selector matching
---
.../apache/sling/servlets/annotations/SlingServletByResourceType.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/servlets/annotations/SlingServletByResourceType.java b/src/main/java/org/apache/sling/servlets/annotations/SlingServletByResourceType.java
index f7e62b5..75b001f 100644
--- a/src/main/java/org/apache/sling/servlets/annotations/SlingServletByResourceType.java
+++ b/src/main/java/org/apache/sling/servlets/annotations/SlingServletByResourceType.java
@@ -42,7 +42,8 @@ public @interface SlingServletByResourceType {
* One ore more request URL selectors supported by the servlet. The
* selectors must be configured in the order as they would be specified in the URL that
* is as a list of dot-separated strings such as <em>print.a4</em>.
- * In case this is not empty all selectors must match, otherwise the servlet is not executed.
+ * In case this is not empty the first selector(s) (i.e. the most right-hand ones in the URL) must match,
+ * otherwise the servlet is not executed. After that may follow arbitrarily many non-registered selectors.
* @see ServletResolverConstants#SLING_SERVLET_SELECTORS
*/
String[] sling_servlet_selectors() default {};
--
To stop receiving notification emails like this one, please contact
kwin@apache.org.