Class InternalRewriteMap.Escape
java.lang.Object
org.apache.catalina.valves.rewrite.InternalRewriteMap.Escape
- All Implemented Interfaces:
RewriteMap
- Enclosing class:
- InternalRewriteMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMaps a key to a replacement value.
The method is free to returnnull
to indicate, that the default value from theRewriteRule
directive should be used.setParameters
(String params) Optional parameter that can be defined through theRewriteMap
directive in therewrite.config
file.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.catalina.valves.rewrite.RewriteMap
setParameters
-
Constructor Details
-
Escape
public Escape()
-
-
Method Details
-
setParameters
Description copied from interface:RewriteMap
Optional parameter that can be defined through theRewriteMap
directive in therewrite.config
file.- Specified by:
setParameters
in interfaceRewriteMap
- Parameters:
params
- the optional parameter- Returns:
- value is currently ignored
-
lookup
Description copied from interface:RewriteMap
Maps a key to a replacement value.
The method is free to returnnull
to indicate, that the default value from theRewriteRule
directive should be used.- Specified by:
lookup
in interfaceRewriteMap
- Parameters:
key
- used by the actual implementation to generate a mapped value- Returns:
- mapped value or
null
-