Class TerminatingPatternRule

public class TerminatingPatternRule extends PatternRule
If this rule matches, terminate the processing of other rules. Allowing the request to be processed by the handlers after the rewrite rules.
  • Constructor Details

    • TerminatingPatternRule

      public TerminatingPatternRule()
    • TerminatingPatternRule

      public TerminatingPatternRule(String pattern)
  • Method Details

    • setTerminating

      public void setTerminating(boolean terminating)
      Description copied from class: Rule
      Sets terminating to true or false.
      setTerminating in class Rule
      terminating - If true, this rule will terminate the loop if this rule has been applied.
    • apply

      protected String apply(String target, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
      Description copied from class: PatternRule
      Apply the rule to the request
      Specified by:
      apply in class PatternRule
      target - field to attempt match
      request - request object
      response - response object
      The target (possible updated)
      IOException - exceptions dealing with operating on request or response objects