org.mobicents.servlet.sip.startup.loading.rules
Class ContainsRule

java.lang.Object
  extended by org.mobicents.servlet.sip.startup.loading.rules.RequestRule
      extended by org.mobicents.servlet.sip.startup.loading.rules.ContainsRule
All Implemented Interfaces:
MatchingRule

public class ContainsRule
extends RequestRule
implements MatchingRule

Author:
Thomas Leseney

Constructor Summary
ContainsRule(java.lang.String var, java.lang.String value, boolean ignoreCase)
           
 
Method Summary
 java.lang.String getExpression()
           
 boolean matches(SipServletRequest request)
           
 
Methods inherited from class org.mobicents.servlet.sip.startup.loading.rules.RequestRule
getValue, getVarName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainsRule

public ContainsRule(java.lang.String var,
                    java.lang.String value,
                    boolean ignoreCase)
Method Detail

matches

public boolean matches(SipServletRequest request)
Specified by:
matches in interface MatchingRule

getExpression

public java.lang.String getExpression()
Specified by:
getExpression in interface MatchingRule


Copyright © 2011. All Rights Reserved.