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 oldURI,
String newURI) |
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, toStringpublic void applyURI(Request request, String oldURI, String newURI) throws IOException
applyURI in interface Rule.ApplyURIIOExceptionpublic String matchAndApply(String target, HttpServletRequest request, HttpServletResponse response) throws IOException
RulematchAndApply in class Ruletarget - The target of the requestIOExceptionCopyright © 1995-2015 Webtide. All Rights Reserved.