public final class AndRequestMatcher extends Object implements RequestMatcher
RequestMatcher
that will return true if all of the passed in
RequestMatcher
instances match.Constructor and Description |
---|
AndRequestMatcher(List<RequestMatcher> requestMatchers)
Creates a new instance
|
AndRequestMatcher(RequestMatcher... requestMatchers)
Creates a new instance
|
public AndRequestMatcher(List<RequestMatcher> requestMatchers)
requestMatchers
- the RequestMatcher
instances to trypublic AndRequestMatcher(RequestMatcher... requestMatchers)
requestMatchers
- the RequestMatcher
instances to trypublic boolean matches(javax.servlet.http.HttpServletRequest request)
RequestMatcher
matches
in interface RequestMatcher
request
- the request to check for a match