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 2016/11/26 09:37:13 UTC
svn commit: r1771450 -
/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/ServletResolverConstants.java
Author: kwin
Date: Sat Nov 26 09:37:13 2016
New Revision: 1771450
URL: http://svn.apache.org/viewvc?rev=1771450&view=rev
Log:
SLING-6249 some more cleanup of the javadoc
Modified:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/ServletResolverConstants.java
Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/ServletResolverConstants.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/ServletResolverConstants.java?rev=1771450&r1=1771449&r2=1771450&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/ServletResolverConstants.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/ServletResolverConstants.java Sat Nov 26 09:37:13 2016
@@ -42,6 +42,7 @@ public final class ServletResolverConsta
* Either this property or the {@link #SLING_SERVLET_RESOURCE_TYPES}
* property must be set or the servlet is ignored.
* If both are set the servlet is registered using both ways.
+ * <p>
* A servlet using this property might be ignored unless its path is included
* in the Execution Paths {@code servletresolver.paths} configuration setting of the {@link org.apache.sling.servlets.resolver.internal.SlingServletResolver} service.
*/
@@ -69,20 +70,20 @@ public final class ServletResolverConsta
* It only is applied as prefix to {@link #SLING_SERVLET_PATHS} and
* {@link #SLING_SERVLET_RESOURCE_TYPES} in case they do not start with a "/".
* <p>
- * If the value of this property is a number, it defines the index of the search
+ * <ul>
+ * <li>If the value of this property is a number, it defines the index of the search
* path entries from the resource resolver. The defined search path is used as
* a prefix to mount this servlet. The number can be -1 which always points to the
* last search entry. If the specified value is higher than than the highest index
* of the search paths, the last entry is used. The index starts with 0.
* If the value of this property is a string and parseable as a number, the above
- * logic is used.
- * If the value of this property is a string starting with "/", this value is applied
- * as a prefix, regardless of the configured search paths!
- * If the value is anything else, it is ignored.
+ * logic is used.</li>
+ * <li>If the value of this property is a string starting with "/", this value is applied
+ * as a prefix, regardless of the configured search paths!</li>
+ * <li>If the value is anything else, it is ignored.</li>
+ * </ul>
* If this property is not specified, the configuration of the {@link org.apache.sling.servlets.resolver.internal.SlingServletResolver} service is used.
* In case even that one is not set "/" is used as prefix.
- * <p>
- * The type of this property is either String or a Number.
*/
public static final String SLING_SERVLET_PREFIX = "sling.servlet.prefix";