public class ListenerRequestMatcher extends Object implements PathAndMethodRequestMatcher
RequestMatcher for an HTTP listener that accepts request based on a path and a group of allowed methods.| Constructor and Description |
|---|
ListenerRequestMatcher(MethodRequestMatcher methodRequestMatcher,
String path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
MethodRequestMatcher |
getMethodRequestMatcher() |
String |
getPath() |
int |
hashCode() |
boolean |
matches(HttpRequest request) |
String |
toString() |
public ListenerRequestMatcher(MethodRequestMatcher methodRequestMatcher, String path)
public String getPath()
getPath in interface PathAndMethodRequestMatcherpublic MethodRequestMatcher getMethodRequestMatcher()
getMethodRequestMatcher in interface PathAndMethodRequestMatcherpublic boolean matches(HttpRequest request)
matches in interface RequestMatcherCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.