Class StringBodyDTO
-
public class StringBodyDTO extends BodyWithContentTypeDTO
- Author:
- jamesdbloom
-
-
Field Summary
-
Fields inherited from class org.mockserver.serialization.model.BodyWithContentTypeDTO
contentType
-
-
Constructor Summary
Constructors Constructor Description StringBodyDTO(StringBody stringBody)
StringBodyDTO(StringBody stringBody, Boolean not)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBody
buildObject()
String
getString()
boolean
isSubString()
-
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
-
-
-
-
Constructor Detail
-
StringBodyDTO
public StringBodyDTO(StringBody stringBody)
-
StringBodyDTO
public StringBodyDTO(StringBody stringBody, Boolean not)
-
-
Method Detail
-
getString
public String getString()
-
isSubString
public boolean isSubString()
-
buildObject
public StringBody buildObject()
- Specified by:
buildObject
in interfaceDTO<Body>
- Specified by:
buildObject
in classBodyWithContentTypeDTO
-
-