Class RandomizedTextRewriteMap

java.lang.Object
org.apache.catalina.valves.rewrite.RandomizedTextRewriteMap
All Implemented Interfaces:
RewriteMap

public class RandomizedTextRewriteMap extends Object implements RewriteMap
Implement a map for the txt: and rnd: mod_rewrite capabilities.
  • Field Details

  • Constructor Details

    • RandomizedTextRewriteMap

      public RandomizedTextRewriteMap(String txtFilePath, boolean useRandom)
      Create 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