org.apache.cocoon.matching
Class RegexpHostMatcher

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.matching.AbstractPreparableMatcher
          extended byorg.apache.cocoon.matching.AbstractRegexpMatcher
              extended byorg.apache.cocoon.matching.RegexpHostMatcher
All Implemented Interfaces:
LogEnabled, Matcher, PreparableMatcher, ThreadSafe

public class RegexpHostMatcher
extends AbstractRegexpMatcher

Matches the target host ("Host" request header) against a regular expression.

Version:
CVS $Id: RegexpHostMatcher.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Giacomo Pati, Berin Loritsch, Paul Russell, Sylvain Wallez

Field Summary
 
Fields inherited from interface org.apache.cocoon.matching.Matcher
ROLE
 
Constructor Summary
RegexpHostMatcher()
           
 
Method Summary
protected  String getMatchString(Map objectModel, Parameters parameters)
          Get the string to test against the regular expression.
 
Methods inherited from class org.apache.cocoon.matching.AbstractRegexpMatcher
preparedMatch, preparePattern
 
Methods inherited from class org.apache.cocoon.matching.AbstractPreparableMatcher
match
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexpHostMatcher

public RegexpHostMatcher()
Method Detail

getMatchString

protected String getMatchString(Map objectModel,
                                Parameters parameters)
Description copied from class: AbstractRegexpMatcher
Get the string to test against the regular expression. To be defined by concrete subclasses.

Specified by:
getMatchString in class AbstractRegexpMatcher


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.