public class AcceptsAllMethodsRequestMatcher extends MethodRequestMatcher
Modifier and Type | Method and Description |
---|---|
static AcceptsAllMethodsRequestMatcher |
instance() |
boolean |
intersectsWith(MethodRequestMatcher methodRequestMatcher)
Determines if there's an intersection between the allowed methods by two
request matcher
|
boolean |
matches(HttpRequest httpRequest) |
getMethodsList, toString
public boolean matches(HttpRequest httpRequest)
matches
in interface RequestMatcher
matches
in class MethodRequestMatcher
httpRequest
- request to evaluate againstpublic static AcceptsAllMethodsRequestMatcher instance()
public boolean intersectsWith(MethodRequestMatcher methodRequestMatcher)
MethodRequestMatcher
intersectsWith
in class MethodRequestMatcher
methodRequestMatcher
- request matcher to test againstCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.