@ConsumerType
public interface PathPreprocessor
Allows to preprocess a path before matching it against the regular experessions
of the context-aware services.
-
Method Summary
apply(@NotNull String path,
@NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver)
-
Method Details
-
apply
@NotNull
@NotNull String apply(@NotNull
@NotNull String path,
@NotNull
@NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver)
Preprocess a path.
- Parameters:
path - Path (never null)
resourceResolver - Resource resolver
- Returns:
- Processed path or same path