public class MethodCondition extends AbstractCondition
Constructor and Description |
---|
MethodCondition(java.lang.String method) |
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.
|
addHeaderValue, destroy, init, required
public java.lang.String getTagName()
Condition
getTagName
in interface Condition
getTagName
in class AbstractCondition
public boolean isMatch(HttpServletRequest request, HttpServletResponse response)
Condition