public abstract class BodyWithContentTypeDTO extends BodyDTO
| Modifier and Type | Field and Description |
|---|---|
protected String |
contentType |
| Constructor and Description |
|---|
BodyWithContentTypeDTO(Body.Type type,
Boolean not,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
abstract BodyWithContentType |
buildObject() |
static BodyWithContentTypeDTO |
createDTO(BodyWithContentType body) |
String |
getContentType() |
toStringequals, fieldsExcludedFromEqualsAndHashCode, hashCode, keyprotected String contentType
public static BodyWithContentTypeDTO createDTO(BodyWithContentType body)
public String getContentType()
public abstract BodyWithContentType buildObject()
buildObject in interface DTO<Body>buildObject in class BodyDTOCopyright © 2018. All rights reserved.