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 Detail

      • TerminatingPatternRule

        public TerminatingPatternRule()
      • TerminatingPatternRule

        public TerminatingPatternRule​(java.lang.String pattern)
    • Method Detail

      • 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 java.lang.String apply​(java.lang.String target,
                                         javax.servlet.http.HttpServletRequest request,
                                         javax.servlet.http.HttpServletResponse response)
        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)
        Throws: - exceptions dealing with operating on request or response objects