Package org.codelibs.fess.helper
Class PathMappingHelper
java.lang.Object
org.codelibs.fess.helper.AbstractConfigHelper
org.codelibs.fess.helper.PathMappingHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<PathMapping>protected static final Stringprotected static final Stringprotected final Map<String,List<PathMapping>> Fields inherited from class org.codelibs.fess.helper.AbstractConfigHelper
reloadInterval -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePathMatcher(Matcher matcher, String replacement) getPathMappingList(String sessionId) voidinit()intload()protected booleanmatchUserAgent(PathMapping pathMapping) voidremovePathMappingList(String sessionId) replaceUrl(String url) replaceUrl(String sessionId, String url) protected StringreplaceUrl(List<PathMapping> pathMappingList, String url) replaceUrls(String text) voidsetPathMappingList(String sessionId, List<PathMapping> pathMappingList) Methods inherited from class org.codelibs.fess.helper.AbstractConfigHelper
setReloadInterval, update, waitForNext
-
Field Details
-
FUNCTION_ENCODEURL_MATCHER
- See Also:
-
GROOVY_MATCHER
- See Also:
-
pathMappingMap
-
cachedPathMappingList
-
-
Constructor Details
-
PathMappingHelper
public PathMappingHelper()
-
-
Method Details
-
init
@PostConstruct public void init() -
load
public int load()- Specified by:
loadin classAbstractConfigHelper
-
getProcessTypeList
-
setPathMappingList
-
removePathMappingList
-
getPathMappingList
-
replaceUrl
-
replaceUrls
-
replaceUrl
-
createPathMatcher
-
replaceUrl
-
matchUserAgent
-