public class CompactPathRule extends Rule implements Rule.ApplyURI
Rule.ApplyURI
_handling, _terminating
Constructor and Description |
---|
CompactPathRule() |
Modifier and Type | Method and Description |
---|---|
void |
applyURI(Request request,
String oldTarget,
String newTarget) |
String |
matchAndApply(String target,
HttpServletRequest request,
HttpServletResponse response)
This method calls tests the rule against the request/response pair and if the Rule
applies, then the rule's action is triggered.
|
isHandling, isTerminating, setHandling, setTerminating, toString
public void applyURI(Request request, String oldTarget, String newTarget) throws IOException
applyURI
in interface Rule.ApplyURI
IOException
public String matchAndApply(String target, HttpServletRequest request, HttpServletResponse response) throws IOException
Rule
matchAndApply
in class Rule
target
- The target of the requestIOException
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.