Class UrlPatternImpl
java.lang.Object
de.hybris.platform.sap.core.requestsequencer.configurer.impl.UrlPatternImpl
- All Implemented Interfaces:
UrlPattern
Default Implementation for
UrlPattern.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompileUrlPatterns(List<String> urlPatterns, ConfigurerEntitiesListImpl<Pattern> compiledUrlPatterns) Compiles the URL RegEx patterns to RegEx Pattern objects.protected ConfigurerEntitiesListImpl<Pattern>protected ConfigurerEntitiesListImpl<Pattern>voidinit()Compiles a RegEx Pattern object for each element of the include URL RegEx pattern list and the exclude URL RegEx pattern list and adds the resulting Pattern object to the corresponding configurerListForUrlIncludePatterns list or configurerListForUrlExcludePatterns list.voidvoidsetExcludeUrlRegExList(List<String> urlRegEx) voidvoidsetIncludeUrlRegExList(List<String> regExList) toString()
-
Constructor Details
-
UrlPatternImpl
public UrlPatternImpl()
-
-
Method Details
-
setIncludeUrlPatternList
- Parameters:
regExMap- a list of include regular expressions
-
getIncludeUrlPatternList
- Returns:
- a list of include regular expressions
-
setExcludeUrlPatternList
- Parameters:
regExMap- a list of exclude regular expressions
-
getExcludeUrlPatternList
- Returns:
- a list of exclude regular expressions
-
getIncludeUrlRegExList
- Specified by:
getIncludeUrlRegExListin interfaceUrlPattern- Returns:
- the URL Pattern
-
setIncludeUrlRegExList
- Specified by:
setIncludeUrlRegExListin interfaceUrlPattern- Parameters:
regExList- hold the url pattern as a regular expression
-
setExcludeUrlRegExList
- Specified by:
setExcludeUrlRegExListin interfaceUrlPattern- Parameters:
urlRegEx- hold the url pattern as a regular expression
-
getExcludeUrlRegExList
- Specified by:
getExcludeUrlRegExListin interfaceUrlPattern- Returns:
- the URL Pattern
-
init
public void init()Compiles a RegEx Pattern object for each element of the include URL RegEx pattern list and the exclude URL RegEx pattern list and adds the resulting Pattern object to the corresponding configurerListForUrlIncludePatterns list or configurerListForUrlExcludePatterns list. -
toString
-
compileUrlPatterns
protected void compileUrlPatterns(List<String> urlPatterns, ConfigurerEntitiesListImpl<Pattern> compiledUrlPatterns) Compiles the URL RegEx patterns to RegEx Pattern objects.- Parameters:
urlPatterns- list of URL RegEx patternscompiledUrlPatterns- list of RegEx Pattern objects
-