Class RandomizedTextRewriteMap
java.lang.Object
org.apache.catalina.valves.rewrite.RandomizedTextRewriteMap
- All Implemented Interfaces:
- RewriteMap
Implement a map for the txt: and rnd: mod_rewrite capabilities.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionRandomizedTextRewriteMap(String txtFilePath, boolean useRandom) Create a map from a text file according to the mod_rewrite syntax.
- 
Method Summary
- 
Field Details- 
sm
 
- 
- 
Constructor Details- 
RandomizedTextRewriteMapCreate a map from a text file according to the mod_rewrite syntax.- Parameters:
- txtFilePath- the text file path
- useRandom- if the map should produce random results
 
 
- 
- 
Method Details- 
setParameters- Specified by:
- setParametersin interface- RewriteMap
 
- 
lookup- Specified by:
- lookupin interface- RewriteMap
 
 
-