Class StringBody
java.lang.Object
de.gematik.test.tiger.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
de.gematik.test.tiger.mockserver.model.ObjectWithJsonToString
de.gematik.test.tiger.mockserver.model.Body<T>
de.gematik.test.tiger.mockserver.model.BodyWithContentType<String>
de.gematik.test.tiger.mockserver.model.StringBody
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class de.gematik.test.tiger.mockserver.model.BodyWithContentType
contentType -
Constructor Summary
ConstructorsConstructorDescriptionStringBody(String value) StringBody(String value, byte[] rawBytes, boolean subString, MediaType contentType) StringBody(String value, MediaType contentType) StringBody(String value, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanstatic StringBodystatic StringBodystatic StringBodybyte[]getValue()inthashCode()booleanstatic StringBodystatic StringBodystatic StringBodytoString()Methods inherited from class de.gematik.test.tiger.mockserver.model.BodyWithContentType
getCharset, getContentTypeMethods inherited from class de.gematik.test.tiger.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Field Details
-
DEFAULT_CONTENT_TYPE
-
-
Constructor Details
-
StringBody
-
StringBody
-
StringBody
-
StringBody
-
-
Method Details
-
exact
-
exact
-
exact
-
subString
-
subString
-
subString
-
getValue
-
getRawBytes
public byte[] getRawBytes()- Overrides:
getRawBytesin classBody<String>
-
isSubString
public boolean isSubString() -
toString
- Overrides:
toStringin classObjectWithJsonToString
-
equals
- Overrides:
equalsin classBodyWithContentType<String>
-
canEqual
- Overrides:
canEqualin classBodyWithContentType<String>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBodyWithContentType<String>
-