Class Expectation
java.lang.Object
de.gematik.test.tiger.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
de.gematik.test.tiger.mockserver.model.ObjectWithJsonToString
de.gematik.test.tiger.mockserver.mock.Expectation
- All Implemented Interfaces:
Comparable<Expectation>
-
Constructor Summary
ConstructorsConstructorDescriptionExpectation(HttpRequest requestDefinition, int priority, List<String> hostRegexes) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanintbooleangetId()intinthashCode()booleanmatches(HttpRequest request) static booleanpathMatches(String matcherValue, String matchedValue) setHttpAction(HttpAction httpAction) Methods inherited from class de.gematik.test.tiger.mockserver.model.ObjectWithJsonToString
toStringMethods inherited from class de.gematik.test.tiger.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Constructor Details
-
Expectation
-
-
Method Details
-
thenForward
-
matches
-
pathMatches
-
compareTo
- Specified by:
compareToin interfaceComparable<Expectation>
-
equals
- Overrides:
equalsin classObjectWithReflectiveEqualsHashCodeToString
-
canEqual
-
hashCode
public int hashCode()- Overrides:
hashCodein classObjectWithReflectiveEqualsHashCodeToString
-
getId
-
getPriority
public int getPriority() -
getRequestPattern
-
getHttpAction
-
getHostRegexes
-
getExpectationCallback
-
setId
- Returns:
this.
-
setHttpAction
- Returns:
this.
-