public class NegatedRequestMatcher extends Object implements RequestMatcher
RequestMatcher that will negate the RequestMatcher passed in. For
example, if the RequestMatcher passed in returns true,
NegatedRequestMatcher will return false. If the RequestMatcher passed
in returns false, NegatedRequestMatcher will return true.| Constructor and Description |
|---|
NegatedRequestMatcher(RequestMatcher requestMatcher)
Creates a new instance
|
public NegatedRequestMatcher(RequestMatcher requestMatcher)
requestMatcher - the RequestMatcher that will be negated.public boolean matches(javax.servlet.http.HttpServletRequest request)
RequestMatchermatches in interface RequestMatcherrequest - the request to check for a match