public abstract class BodyWithContentTypeDTO extends BodyDTO
Modifier and Type | Field and Description |
---|---|
protected String |
contentType |
Constructor and Description |
---|
BodyWithContentTypeDTO(Body.Type type,
Boolean not,
Body<?> body) |
Modifier and Type | Method and Description |
---|---|
abstract BodyWithContentType<?> |
buildObject() |
static BodyWithContentTypeDTO |
createWithContentTypeDTO(BodyWithContentType<?> body) |
String |
getContentType() |
createDTO, getOptional, getType, withOptional
toString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode
protected final String contentType
public static BodyWithContentTypeDTO createWithContentTypeDTO(BodyWithContentType<?> body)
public String getContentType()
public abstract BodyWithContentType<?> buildObject()
buildObject
in interface DTO<Body<?>>
buildObject
in class BodyDTO
Copyright © 2020. All rights reserved.