Interface PathPreprocessor


  • @ConsumerType
    public interface PathPreprocessor
    Allows to preprocess a path before matching it against the regular experessions of the context-aware services.
    • Method Detail

      • 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