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,
java.lang.String oldURI,
java.lang.String newURI) |
java.lang.String |
matchAndApply(java.lang.String target,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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, java.lang.String oldURI, java.lang.String newURI) throws java.io.IOException
applyURI in interface Rule.ApplyURIjava.io.IOExceptionpublic java.lang.String matchAndApply(java.lang.String target,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
RulematchAndApply in class Ruletarget - The target of the requestrequest - the requestresponse - the responsejava.io.IOException - if unable to match the ruleCopyright © 1995–2023 Webtide. All rights reserved.