com.caucho.server.rewrite
Class AndConditions

java.lang.Object
  extended by com.caucho.server.rewrite.AbstractCondition
      extended by com.caucho.server.rewrite.AbstractConditions
          extended by com.caucho.server.rewrite.AndConditions
All Implemented Interfaces:
Condition

public class AndConditions
extends AbstractConditions


Constructor Summary
AndConditions()
           
AndConditions(RewriteDispatch rewriteDispatch)
           
 
Method Summary
 java.lang.String getTagName()
          Returns a descriptive name for the tag, for logging and for error messages.
 boolean isMatch(HttpServletRequest request, HttpServletResponse response)
          Returns true if the condition passes.
 
Methods inherited from class com.caucho.server.rewrite.AbstractConditions
add, addAnd, addNot, addOr, addUnless, addWhen, createAnd, createNot, createOr, getConditions, init
 
Methods inherited from class com.caucho.server.rewrite.AbstractCondition
addHeaderValue, destroy, required
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndConditions

public AndConditions()

AndConditions

public AndConditions(RewriteDispatch rewriteDispatch)
Method Detail

getTagName

public java.lang.String getTagName()
Description copied from interface: Condition
Returns a descriptive name for the tag, for logging and for error messages.

Specified by:
getTagName in interface Condition
Overrides:
getTagName in class AbstractCondition

isMatch

public boolean isMatch(HttpServletRequest request,
                       HttpServletResponse response)
Description copied from interface: Condition
Returns true if the condition passes.