org.apache.cocoon.matching
Class WildcardHostMatcher

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.matching.AbstractWildcardMatcher
          extended by org.apache.cocoon.matching.WildcardHostMatcher
All Implemented Interfaces:
Component, LogEnabled, ThreadSafe, Matcher

public class WildcardHostMatcher
extends AbstractWildcardMatcher

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

Version:
CVS $Id: WildcardHostMatcher.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Giacomo Pati, Berin Loritsch, Paul Russell, Sylvain Wallez, Vadim Gritsenko

Field Summary
 
Fields inherited from interface org.apache.cocoon.matching.Matcher
ROLE
 
Constructor Summary
WildcardHostMatcher()
           
 
Method Summary
protected  String getMatchString(Map objectModel, Parameters parameters)
          Get the string to test against the wildcard expression.
 
Methods inherited from class org.apache.cocoon.matching.AbstractWildcardMatcher
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

WildcardHostMatcher

public WildcardHostMatcher()
Method Detail

getMatchString

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

Specified by:
getMatchString in class AbstractWildcardMatcher


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