@ -132,6 +132,15 @@ public final class AntPathRequestMatcher implements RequestMatcher {
this.httpMethod == other.httpMethod;
}
@Override
public int hashCode() {
int code = 31 ^ pattern.hashCode();
if (httpMethod != null) {
code ^= httpMethod.hashCode();
return code;
public String toString() {
StringBuilder sb = new StringBuilder();