public class TerminatingPatternRule extends PatternRule
Rule.ApplyURI
_pattern
_handling, _terminating
Constructor and Description |
---|
TerminatingPatternRule() |
Modifier and Type | Method and Description |
---|---|
protected String |
apply(String target,
HttpServletRequest request,
HttpServletResponse response)
Apply the rule to the request
|
void |
setTerminating(boolean terminating)
Sets terminating to true or false.
|
getPattern, matchAndApply, setPattern, toString
isHandling, isTerminating, setHandling
public void setTerminating(boolean terminating)
Rule
setTerminating
in class Rule
terminating
- If true, this rule will terminate the loop if this rule has been applied.protected String apply(String target, HttpServletRequest request, HttpServletResponse response) throws IOException
PatternRule
apply
in class PatternRule
target
- field to attempt matchrequest
- request objectresponse
- response objectIOException
- exceptions dealing with operating on request or response objectsCopyright © 1995-2016 Webtide. All Rights Reserved.