rewrite.config file by a RewriteMap directive. Such a map
can then be used by a RewriteRule defined in the same file.
An example rewrite.config file could look like:
RewriteMap uc example.UpperCaseMap
RewriteRule ^/(.*)$ ${uc:$1}
One parameter can be optionally appended to the RewriteMap directive.
This could be used – for example – to specify a name of a file, that
contains a lookup table used by the implementation of the map.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | Returns: value is currently ignoredthe optional parameter params)Optional parameter that can be defined through the |
| public default void | setParameters(String...
the optional parameters params)Optional parameters that can be defined through the |
| lookup | back to summary |
|---|---|
| public String lookup(String key) Maps a key to a replacement value. | |
| setParameters | back to summary |
|---|---|
| public String setParameters(String params) Optional parameter that can be defined through the | |
| setParameters | back to summary |
|---|---|
| public default void setParameters(String... params) Optional parameters that can be defined through the This method will be called, if there are more than one parameters defined.
| |