Class JsonBodyDTO
-
public class JsonBodyDTO extends BodyWithContentTypeDTO
- Author:
- jamesdbloom
-
-
Field Summary
-
Fields inherited from class org.mockserver.serialization.model.BodyWithContentTypeDTO
contentType
-
-
Constructor Summary
Constructors Constructor Description JsonBodyDTO(JsonBody jsonBody)
JsonBodyDTO(JsonBody jsonBody, Boolean not)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonBody
buildObject()
String
getJson()
MatchType
getMatchType()
-
Methods inherited from class org.mockserver.serialization.model.BodyWithContentTypeDTO
createDTO, getContentType
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-
-
-
Method Detail
-
getJson
public String getJson()
-
getMatchType
public MatchType getMatchType()
-
buildObject
public JsonBody buildObject()
- Specified by:
buildObject
in interfaceDTO<Body>
- Specified by:
buildObject
in classBodyWithContentTypeDTO
-
-