public interface PathTransformer
| Modifier and Type | Method and Description |
|---|---|
String |
externalize(org.apache.sling.api.resource.ResourceResolver resourceResolver,
String path)
Returns a URL for the passed path argument.
|
String |
externalize(org.apache.sling.api.SlingHttpServletRequest request,
String path)
Returns a URL for the passed path argument.
|
List<String> |
externalizeList(org.apache.sling.api.resource.ResourceResolver resourceResolver,
String path)
Returns one or more externalized URLs for the passed path argument.
|
List<String> |
externalizeList(org.apache.sling.api.SlingHttpServletRequest request,
String path)
Returns one or more externalized URLs for the passed path argument.
|
String |
map(org.apache.sling.api.SlingHttpServletRequest request,
String path)
Retrieves a path that is a result of the applied mapping rules.
|
List<String> externalizeList(org.apache.sling.api.SlingHttpServletRequest request, String path)
request - sling request used for context.path - resource/page path to be externalized.List<String> externalizeList(org.apache.sling.api.resource.ResourceResolver resourceResolver, String path)
resourceResolver - resource resolver used for context.path - resource/page path to be externalized.String externalize(org.apache.sling.api.SlingHttpServletRequest request, String path)
request - sling request used for context.path - resource/page path to be externalized.String externalize(org.apache.sling.api.resource.ResourceResolver resourceResolver, String path)
resourceResolver - resource resolver used for context.path - resource/page path to be externalized.String map(org.apache.sling.api.SlingHttpServletRequest request, String path)
request - sling request used for context.path - the resource's path on which the mapping rules are applied.Copyright © 2023. All rights reserved.