|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.softeu.rewriter.RuleAdapter
cz.softeu.rewriter.rules.FixedRule
public class FixedRule
Rule that uses fixed string (no need to escape regexp string).
| Constructor Summary | |
|---|---|
FixedRule(java.lang.String from,
java.lang.String to,
int redirect)
|
|
| Method Summary | |
|---|---|
Rewrited |
match(java.lang.String url,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Does this request match this rule? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedRule(java.lang.String from,
java.lang.String to,
int redirect)
| Method Detail |
|---|
public Rewrited match(java.lang.String url,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Rule
url - currently processed url (can be changed if some rule already matched).request - request.response - response.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||