Class TerminatingRegexRule
java.lang.Object
org.eclipse.jetty.rewrite.handler.Rule
org.eclipse.jetty.rewrite.handler.RegexRule
org.eclipse.jetty.rewrite.handler.TerminatingRegexRule
If this rule matches, terminate the processing of other rules.
Allowing the request to be processed by the handlers after the rewrite rules.
- 
Nested Class Summary
Nested classes/interfaces inherited from class Rule
Rule.Handler, Rule.HttpURIHandler - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionapply(Rule.Handler input, Matcher matcher) Invoked after the regular expression matched the URI path to apply the rule's logic.booleanMethods inherited from class RegexRule
getRegex, isMatchQuery, matchAndApply, setMatchQuery, setRegex, toStringMethods inherited from class Rule
setTerminating 
- 
Constructor Details
- 
TerminatingRegexRule
public TerminatingRegexRule() - 
TerminatingRegexRule
 
 - 
 - 
Method Details
- 
isTerminating
public boolean isTerminating()- Overrides:
 isTerminatingin classRule- Returns:
 - whether rules after this one are not invoked
 
 - 
apply
Description copied from class:RegexRuleInvoked after the regular expression matched the URI path to apply the rule's logic.
- Specified by:
 applyin classRegexRule- Parameters:
 input- the inputRequestandHandlermatcher- theMatcherthat matched the request path, with capture groups available for replacement.- Returns:
 - the possibly wrapped 
RequestandHandler - Throws:
 IOException- if applying the rule failed
 
 -