org.apache.cocoon.ajax
Class AjaxRequestMatcher

java.lang.Object
  extended byorg.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 $

Field Summary
 
Fields inherited from interface org.apache.cocoon.matching.Matcher
ROLE
 
Constructor Summary
AjaxRequestMatcher()
           
 
Method Summary
 Map match(String pattern, Map objectModel, Parameters parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxRequestMatcher

public AjaxRequestMatcher()
Method Detail

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.