Rule.ApplyURIpublic class CompactPathRule extends Rule implements Rule.ApplyURI
Rule.ApplyURI_handling, _terminating| Constructor | Description |
|---|---|
CompactPathRule() |
| Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisHandling, 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–2018 Webtide. All rights reserved.