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 T
expectedValue
-
Constructor Summary
Constructors Constructor Description ContentPattern(T expectedValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
T
getValue()
int
hashCode()
protected boolean
isNullValuePermitted()
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-