Class ContentPattern<T>
- java.lang.Object
-
- com.github.tomakehurst.wiremock.matching.ContentPattern<T>
-
- All Implemented Interfaces:
NamedValueMatcher<T>,ValueMatcher<T>
- Direct Known Subclasses:
BinaryEqualToPattern,StringValuePattern
public abstract class ContentPattern<T> extends java.lang.Object implements NamedValueMatcher<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected TexpectedValue
-
Constructor Summary
Constructors Constructor Description ContentPattern(T expectedValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)TgetValue()inthashCode()protected booleanisNullValuePermitted()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.tomakehurst.wiremock.matching.NamedValueMatcher
getExpected, getName
-
Methods inherited from interface com.github.tomakehurst.wiremock.matching.ValueMatcher
match
-
-
-
-
Field Detail
-
expectedValue
protected final T expectedValue
-
-
Constructor Detail
-
ContentPattern
public ContentPattern(T expectedValue)
-
-
Method Detail
-
getValue
public T getValue()
-
isNullValuePermitted
protected boolean isNullValuePermitted()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-