org.apache.sling.resourceresolver.impl.mapping
Interface MapConfigurationProvider

All Superinterfaces:
org.apache.sling.api.resource.ResourceResolverFactory
All Known Implementing Classes:
CommonResourceResolverFactoryImpl

public interface MapConfigurationProvider
extends org.apache.sling.api.resource.ResourceResolverFactory

Internal interface representing the additional methods MapEntries needs from the ResourceResolverFactory. Exists primarily to facilitate mocking of the ResourceResolverFactory when testing MapEntries.


Nested Class Summary
static class MapConfigurationProvider.VanityPathConfig
           
 
Field Summary
 
Fields inherited from interface org.apache.sling.api.resource.ResourceResolverFactory
PASSWORD, SUBSERVICE, USER, USER_IMPERSONATION
 
Method Summary
 int getDefaultVanityPathRedirectStatus()
           
 Mapping[] getMappings()
           
 String getMapRoot()
           
 List<MapConfigurationProvider.VanityPathConfig> getVanityPathConfig()
          A list of white and black list prefixes all ending with a slash.
 Map<?,?> getVirtualURLMap()
           
 boolean isOptimizeAliasResolutionEnabled()
           
 boolean isVanityPathEnabled()
           
 
Methods inherited from interface org.apache.sling.api.resource.ResourceResolverFactory
getAdministrativeResourceResolver, getResourceResolver, getServiceResourceResolver
 

Method Detail

getMapRoot

String getMapRoot()

getVirtualURLMap

Map<?,?> getVirtualURLMap()

getMappings

Mapping[] getMappings()

getDefaultVanityPathRedirectStatus

int getDefaultVanityPathRedirectStatus()

isVanityPathEnabled

boolean isVanityPathEnabled()

isOptimizeAliasResolutionEnabled

boolean isOptimizeAliasResolutionEnabled()

getVanityPathConfig

List<MapConfigurationProvider.VanityPathConfig> getVanityPathConfig()
A list of white and black list prefixes all ending with a slash. If null is returned, all paths are allowed.



Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.