public static class InternalRewriteMap.Escape extends java.lang.Object implements RewriteMap
Constructor and Description |
---|
Escape() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
lookup(java.lang.String key)
Maps a key to a replacement value.
|
java.lang.String |
setParameters(java.lang.String params)
Optional parameter that can be defined through the
RewriteMap
directive in the rewrite.config file. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setParameters
public java.lang.String setParameters(java.lang.String params)
RewriteMap
RewriteMap
directive in the rewrite.config
file.setParameters
in interface RewriteMap
params
- the optional parameterpublic java.lang.String lookup(java.lang.String key)
RewriteMap
null
to indicate, that the default
value from the RewriteRule
directive should be used.lookup
in interface RewriteMap
key
- used by the actual implementation to generate a mapped valuenull
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.