public class ExistsCondition extends AbstractCondition
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setRegexp(java.util.regex.Pattern pattern) |
addHeaderValue, destroy, init, required
public java.lang.String getTagName()
Condition
getTagName
in interface Condition
getTagName
in class AbstractCondition
public void setRegexp(java.util.regex.Pattern pattern)
public boolean isMatch(HttpServletRequest request, HttpServletResponse response)
Condition