cz.softeu.rewriter
Interface Rule
- All Known Implementing Classes:
- FaceletsRule, FixedRule, RegexRule, RuleAdapter
public interface Rule
Basic work of unit. It gets url and request.
The url can be different then what is stored in request (if some rule already rewrited it).
- Author:
- Petr Ferschmann
|
Method Summary |
Rewrited |
match(java.lang.String url,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Does this request match this rule? |
match
Rewrited match(java.lang.String url,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Does this request match this rule?
If so return Rewrited instance (url, ...).
- Parameters:
url - currently processed url (can be changed if some rule already matched).request - request.response - response.
- Returns:
- Rewrited instance
Copyright © 2007 SoftEU s.r.o.. All Rights Reserved.