org.apache.cocoon.ajax
Class AjaxRequestMatcher
java.lang.Object
org.apache.cocoon.ajax.AjaxRequestMatcher
- All Implemented Interfaces:
- org.apache.cocoon.matching.Matcher, ThreadSafe
- public class AjaxRequestMatcher
- extends Object
- implements org.apache.cocoon.matching.Matcher, ThreadSafe
A matcher that tests if the current request is an Ajax request. This matcher
provides no sitemap variables.
Example:
<map:match type="ajax-request">
... ajax request ...
</map:match>
- Since:
- 2.1.8
- Version:
- $Id: AjaxRequestMatcher.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.matching.Matcher |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxRequestMatcher
public AjaxRequestMatcher()
match
public Map match(String pattern,
Map objectModel,
Parameters parameters)
throws org.apache.cocoon.sitemap.PatternException
- Specified by:
match
in interface org.apache.cocoon.matching.Matcher
- Throws:
org.apache.cocoon.sitemap.PatternException
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.