Apache » Cocoon »

  Cocoon Core
      2.2
   homepage

Cocoon Core 2.2

HeaderMatcher

Summary

This class allows for matching based on a request header. If the specified request header parameter exists, its value is retrieved for later sitemap substitution.

Basic information

Component typeMatcher
Cocoon blockcore
Java classorg.apache.cocoon.matching.HeaderMatcher
Name in Sitemap
Cacheable

Documentation

Example:

<map:match type="header" pattern="referer">
  <map:redirect-to uri="{1}"/>
</map:match>