public class QueryParamCondition 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 pattern) |
addHeaderValue, destroy, required
public java.lang.String getTagName()
Condition
getTagName
in interface Condition
getTagName
in class AbstractCondition
public void setRegexp(java.util.regex.Pattern pattern)
public void setCaseInsensitive(boolean caseInsensitive)
@PostConstruct public void init()
Condition
init
in interface Condition
init
in class AbstractCondition
public boolean isMatch(HttpServletRequest request, HttpServletResponse response)
Condition