@ComponentPropertyType
public @interface SlingServletPrefix
SlingServletPaths
or SlingServletResourceTypes
.
It only is applied as prefix to SlingServletPaths
or SlingServletResourceTypes.resourceTypes()
in case they do not start with a "/".Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
If the value of this element is a number, it defines the index of the search
path entries from the resource resolver.
|
public abstract java.lang.String value
org.apache.sling.servlets.resolver.internal.SlingServletResolver
service is used.
In case even that one is not set "/" is used as prefix.ServletResolverConstants.SLING_SERVLET_PREFIX
Copyright © 2018 The Apache Software Foundation. All rights reserved.