public abstract class BodyWithContentTypeDTO extends BodyDTO
| Modifier and Type | Field and Description |
|---|---|
protected String |
contentType |
logger| Constructor and Description |
|---|
BodyWithContentTypeDTO() |
BodyWithContentTypeDTO(Body.Type type,
Boolean not,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
abstract BodyWithContentType |
buildObject() |
static BodyWithContentTypeDTO |
createDTO(BodyWithContentType body) |
String |
getContentType() |
toStringaddFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCodeprotected String contentType
public BodyWithContentTypeDTO(Body.Type type, Boolean not, String contentType)
public BodyWithContentTypeDTO()
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.