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