org.apache.cocoon.matching
Class WildcardHeaderMatcher

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.matching.AbstractWildcardMatcher
          extended byorg.apache.cocoon.matching.WildcardHeaderMatcher
All Implemented Interfaces:
Configurable, org.apache.cocoon.matching.Matcher, ThreadSafe

public class WildcardHeaderMatcher
extends org.apache.cocoon.matching.AbstractWildcardMatcher
implements Configurable

Matches a request header (e.g. "referer") against a wildcard expression.

Global and local configuration

header-nameName of the request header to match against

Version:
$Id: WildcardHeaderMatcher.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
 
Fields inherited from interface org.apache.cocoon.matching.Matcher
ROLE
 
Constructor Summary
WildcardHeaderMatcher()
           
 
Method Summary
 void configure(Configuration config)
           
protected  String getMatchString(Map objectModel, Parameters parameters)
           
 
Methods inherited from class org.apache.cocoon.matching.AbstractWildcardMatcher
match
 
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WildcardHeaderMatcher

public WildcardHeaderMatcher()
Method Detail

configure

public void configure(Configuration config)
               throws ConfigurationException
Specified by:
configure in interface Configurable
Throws:
ConfigurationException

getMatchString

protected String getMatchString(Map objectModel,
                                Parameters parameters)


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