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, toString, withOptionaltoStringequals, fieldsExcludedFromEqualsAndHashCode, hashCodeprotected final String contentType
public static BodyWithContentTypeDTO createWithContentTypeDTO(BodyWithContentType<?> body)
public String getContentType()
public abstract BodyWithContentType<?> buildObject()
buildObject in interface DTO<Body<?>>buildObject in class BodyDTOCopyright © 2023. All rights reserved.