public class CookieCondition 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.
|
void |
init()
Called at initialization time.
|
boolean |
isMatch(HttpServletRequest request,
HttpServletResponse response)
Returns true if the condition passes.
|
void |
setCaseInsensitive(boolean caseInsensitive) |
void |
setRegexp(java.util.regex.Pattern regexp) |
void |
setSendVary(boolean sendVary) |
addHeaderValue, destroy, required
public void setCaseInsensitive(boolean caseInsensitive)
public void setRegexp(java.util.regex.Pattern regexp)
public void setSendVary(boolean sendVary)
public java.lang.String getTagName()
Condition
getTagName
in interface Condition
getTagName
in class AbstractCondition
@PostConstruct public void init()
Condition
init
in interface Condition
init
in class AbstractCondition
public boolean isMatch(HttpServletRequest request, HttpServletResponse response)
Condition