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() |
toString
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode
protected 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 class BodyDTO
Copyright © 2018. All rights reserved.