Class AbstractRenditionDispatcherImpl
- java.lang.Object
-
- com.adobe.aem.commons.assetshare.content.renditions.impl.dispatchers.AbstractRenditionDispatcherImpl
-
- All Implemented Interfaces:
AssetRenditionDispatcher
- Direct Known Subclasses:
ExternalRedirectRenditionDispatcherImpl
,InternalRedirectRenditionDispatcherImpl
,StaticRenditionDispatcherImpl
public abstract class AbstractRenditionDispatcherImpl extends Object implements AssetRenditionDispatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.adobe.aem.commons.assetshare.content.renditions.AssetRenditionDispatcher
AssetRenditionDispatcher.Types
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
OSGI_PROPERTY_VALUE_DELIMITER
static String
QUERY_PARAM_SUGGESTED_EXTENSION
-
Constructor Summary
Constructors Constructor Description AbstractRenditionDispatcherImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
cleanURI(String uri)
String
getExtensionFromAscExtQueryParameter(String uri)
protected ConcurrentHashMap<String,Pattern>
parseMappingsAsPatterns(String[] renditionMappings)
ConcurrentHashMap<String,String>
parseMappingsAsStrings(String[] renditionMappings)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adobe.aem.commons.assetshare.content.renditions.AssetRenditionDispatcher
accepts, dispatch, getLabel, getName, getOptions, getRendition, getRenditionNames, getTypes, isHidden
-
-
-
-
Field Detail
-
OSGI_PROPERTY_VALUE_DELIMITER
protected static final String OSGI_PROPERTY_VALUE_DELIMITER
- See Also:
- Constant Field Values
-
QUERY_PARAM_SUGGESTED_EXTENSION
public static final String QUERY_PARAM_SUGGESTED_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseMappingsAsPatterns
protected ConcurrentHashMap<String,Pattern> parseMappingsAsPatterns(String[] renditionMappings)
-
parseMappingsAsStrings
public ConcurrentHashMap<String,String> parseMappingsAsStrings(String[] renditionMappings)
-
getExtensionFromAscExtQueryParameter
public String getExtensionFromAscExtQueryParameter(String uri) throws URISyntaxException
- Throws:
URISyntaxException
-
cleanURI
public String cleanURI(String uri) throws URISyntaxException
- Throws:
URISyntaxException
-
-