public class TerminatingRegexRule extends RegexRule
Rule.ApplyURI_handling, _terminating| Constructor and Description |
|---|
TerminatingRegexRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String target,
HttpServletRequest request,
HttpServletResponse response,
Matcher matcher)
Apply this rule to the request/response pair.
|
void |
setTerminating(boolean terminating)
Sets terminating to true or false.
|
getRegex, matchAndApply, setRegex, toStringisHandling, isTerminating, setHandlingpublic void setTerminating(boolean terminating)
RulesetTerminating in class Ruleterminating - If true, this rule will terminate the loop if this rule has been applied.public String apply(String target, HttpServletRequest request, HttpServletResponse response, Matcher matcher) throws IOException
RegexRuleRegexRule.matchAndApply(String, HttpServletRequest, HttpServletResponse) if the regex matches.apply in class RegexRuletarget - field to attempt matchrequest - request objectresponse - response objectmatcher - The Regex matcher that matched the request (with capture groups available for replacement).IOException - exceptions dealing with operating on request or response objectsCopyright © 1995-2016 Webtide. All Rights Reserved.