public final class OrRequestMatcher extends Object implements RequestMatcher
RequestMatcher that will return true if any of the passed in
RequestMatcher instances match.| 构造器和说明 |
|---|
OrRequestMatcher(List<RequestMatcher> requestMatchers)
Creates a new instance
|
OrRequestMatcher(RequestMatcher... requestMatchers)
Creates a new instance
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
matches(javax.servlet.http.HttpServletRequest request)
Decides whether the rule implemented by the strategy matches the supplied request.
|
String |
toString() |
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 在接口中 RequestMatcherrequest - the request to check for a matchCopyright © 2016. All rights reserved.