| java.lang.Object org.apache.cocoon.matching.RequestParameterMatcher
All known Subclasses: org.apache.cocoon.matching.RequestParamMatcher,
RequestParameterMatcher | public class RequestParameterMatcher implements Matcher,ThreadSafe(Code) | | This class allows for matching based on a request parameter.
If the specified request parameter exists, its value is retrieved for later
sitemap substitution.
Example:
<map:match type="request" pattern="dest">
<map:redirect-to uri="{1}"/>
</map:match>
author: Marcus Crafter author: Vadim Gritsenko version: CVS $Id: RequestParameterMatcher.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public Map | match(String pattern, Map objectModel, Parameters parameters) Match method to see if the request parameter exists. |
match | public Map match(String pattern, Map objectModel, Parameters parameters)(Code) | | Match method to see if the request parameter exists. If it does
have a value the parameter is added to the array list for later
sitemap substitution.
Parameters: pattern - name of request parameter to find Parameters: objectModel - environment passed through via cocoon null or map containing value of request parameter 'pattern' |
|
|