org.mockserver.matchers.MatchDifferenceCount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockserver-core Show documentation
Show all versions of mockserver-core Show documentation
Functionality used by all MockServer modules for matching and expectations
package org.mockserver.matchers;
import org.mockserver.model.HttpRequest;
public class MatchDifferenceCount {
private final HttpRequest httpRequest;
private Integer failures = 0;
public MatchDifferenceCount(HttpRequest httpRequest) {
this.httpRequest = httpRequest;
}
public HttpRequest getHttpRequest() {
return httpRequest;
}
@SuppressWarnings("UnusedReturnValue")
public MatchDifferenceCount incrementFailures() {
this.failures++;
return this;
}
public Integer getFailures() {
return failures;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy