Class VanityPathHandler

java.lang.Object
org.apache.sling.resourceresolver.impl.mapping.VanityPathHandler

public class VanityPathHandler extends Object
All things related to the handling of vanity paths.
  • Field Details

  • Constructor Details

  • Method Details

    • isReady

      public boolean isReady()
    • getVanityPathMappings

      public Map<String,List<String>> getVanityPathMappings()
    • initializeVanityPaths

      protected void initializeVanityPaths()
      Actual vanity path initializer. Guards itself against concurrent use by using a ReentrantLock. Does nothing if the resource resolver has already been null-ed.
    • getCurrentMapEntryForVanityPath

      @Nullable public @Nullable Iterator<MapEntry> getCurrentMapEntryForVanityPath(String key)