Interface MapConfigurationProvider
-
- All Superinterfaces:
org.apache.sling.api.resource.ResourceResolverFactory
public interface MapConfigurationProvider extends org.apache.sling.api.resource.ResourceResolverFactoryInternal interface representing the additional methods MapEntries needs from the ResourceResolverFactory. Exists primarily to facilitate mocking of the ResourceResolverFactory when testing MapEntries.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMapConfigurationProvider.VanityPathConfig
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>getAllowedAliasLocations()A set of allow prefixes all ending with a slash.intgetDefaultVanityPathRedirectStatus()Mapping[]getMappings()StringgetMapRoot()longgetMaxCachedVanityPathEntries()org.apache.sling.api.resource.path.Path[]getObservationPaths()Map<String,Object>getServiceUserAuthenticationInfo(String subServiceName)intgetVanityBloomFilterMaxBytes()List<MapConfigurationProvider.VanityPathConfig>getVanityPathConfig()A list of white and black list prefixes all ending with a slash.Map<?,?>getVirtualURLMap()booleanhasVanityPathPrecedence()booleanisMapConfiguration(String path)booleanisMaxCachedVanityPathEntriesStartup()booleanisOptimizeAliasResolutionEnabled()booleanisVanityPathEnabled()
-
-
-
Method Detail
-
getMapRoot
String getMapRoot()
-
isMapConfiguration
boolean isMapConfiguration(String path)
-
getObservationPaths
org.apache.sling.api.resource.path.Path[] getObservationPaths()
-
getVirtualURLMap
Map<?,?> getVirtualURLMap()
-
getMappings
Mapping[] getMappings()
-
getDefaultVanityPathRedirectStatus
int getDefaultVanityPathRedirectStatus()
-
isVanityPathEnabled
boolean isVanityPathEnabled()
-
getMaxCachedVanityPathEntries
long getMaxCachedVanityPathEntries()
-
isMaxCachedVanityPathEntriesStartup
boolean isMaxCachedVanityPathEntriesStartup()
-
getVanityBloomFilterMaxBytes
int getVanityBloomFilterMaxBytes()
-
isOptimizeAliasResolutionEnabled
boolean isOptimizeAliasResolutionEnabled()
-
hasVanityPathPrecedence
boolean hasVanityPathPrecedence()
-
getServiceUserAuthenticationInfo
Map<String,Object> getServiceUserAuthenticationInfo(String subServiceName) throws org.apache.sling.api.resource.LoginException
- Throws:
org.apache.sling.api.resource.LoginException
-
getVanityPathConfig
List<MapConfigurationProvider.VanityPathConfig> getVanityPathConfig()
A list of white and black list prefixes all ending with a slash. Ifnullis returned, all paths are allowed.
-
-