Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.java 607381 2007-12-29 05:42:58Z vgritsenko $

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`

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.