Package org.mockserver.model
Class JsonBody
- Author:
- jamesdbloom
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class org.mockserver.model.BodyWithContentType
contentType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.fasterxml.jackson.databind.JsonNodebyte[]getValue()inthashCode()booleanstatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodystatic JsonBodytoString()Methods inherited from class org.mockserver.model.BodyWithContentType
getCharset, getContentTypeMethods inherited from class org.mockserver.model.Body
getOptional, getType, withOptionalMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Field Details
-
DEFAULT_MATCH_TYPE
-
DEFAULT_JSON_CONTENT_TYPE
-
-
Constructor Details
-
JsonBody
-
JsonBody
-
JsonBody
-
JsonBody
-
JsonBody
-
-
Method Details
-
json
-
json
-
json
-
json
-
json
-
json
-
json
-
json
-
json
-
json
-
json
-
json
-
json
-
get
-
getValue
-
getRawBytes
public byte[] getRawBytes()- Overrides:
getRawBytesin classBody<String>
-
getMatchType
-
isMatchNumbersAsStrings
public boolean isMatchNumbersAsStrings() -
toString
- Overrides:
toStringin classObjectWithJsonToString
-
equals
- Overrides:
equalsin classBodyWithContentType<String>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBodyWithContentType<String>
-