Class TerminatingPatternRule
java.lang.Object
org.eclipse.jetty.rewrite.handler.Rule
org.eclipse.jetty.rewrite.handler.PatternRule
org.eclipse.jetty.rewrite.handler.TerminatingPatternRule
If this rule matches, terminates the processing of other rules, allowing
the request to be processed by the handlers after the RewriteHandler.
-
Nested Class Summary
Nested classes/interfaces inherited from class Rule
Rule.Handler, Rule.HttpURIHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Rule.Handlerapply(Rule.Handler input) Invoked after the Servlet pattern matched the URI path to apply the rule's logic.booleanMethods inherited from class PatternRule
getPattern, matchAndApply, setPattern, toStringMethods inherited from class Rule
setTerminating
-
Constructor Details
-
TerminatingPatternRule
public TerminatingPatternRule() -
TerminatingPatternRule
-
-
Method Details
-
isTerminating
public boolean isTerminating()- Overrides:
isTerminatingin classRule- Returns:
- whether rules after this one are not invoked
-
apply
Description copied from class:PatternRuleInvoked after the Servlet pattern matched the URI path to apply the rule's logic.
- Specified by:
applyin classPatternRule- Parameters:
input- the inputRequestandHandler- Returns:
- the possibly wrapped
RequestandHandler - Throws:
IOException- if applying the rule failed
-