org.mockserver.client.serialization.model
Class BodyWithContentTypeDTO
java.lang.Object
org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
org.mockserver.model.ObjectWithJsonToString
org.mockserver.client.serialization.model.NotDTO
org.mockserver.client.serialization.model.BodyDTO
org.mockserver.client.serialization.model.BodyWithContentTypeDTO
- Direct Known Subclasses:
- BinaryBodyDTO, JsonBodyDTO, ParameterBodyDTO, StringBodyDTO, XmlBodyDTO
public abstract class BodyWithContentTypeDTO
- extends BodyDTO
- Author:
- jamesdbloom
| Methods inherited from class org.mockserver.client.serialization.model.NotDTO |
getNot, setNot |
contentType
protected String contentType
BodyWithContentTypeDTO
public BodyWithContentTypeDTO(Body.Type type,
Boolean not,
String contentType)
BodyWithContentTypeDTO
public BodyWithContentTypeDTO()
createDTO
public static BodyWithContentTypeDTO createDTO(BodyWithContentType body)
getContentType
public String getContentType()
buildObject
public abstract BodyWithContentType buildObject()
- Specified by:
buildObject in class BodyDTO
Copyright © 2017. All rights reserved.