public class StringBodyDTO extends BodyWithContentTypeDTO
contentType
Constructor and Description |
---|
StringBodyDTO(StringBody stringBody) |
StringBodyDTO(StringBody stringBody,
Boolean not) |
Modifier and Type | Method and Description |
---|---|
StringBody |
buildObject() |
byte[] |
getRawBytes() |
String |
getString() |
boolean |
isSubString() |
createDTO, getContentType
toString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode
public StringBodyDTO(StringBody stringBody)
public StringBodyDTO(StringBody stringBody, Boolean not)
public String getString()
public boolean isSubString()
public byte[] getRawBytes()
public StringBody buildObject()
buildObject
in interface DTO<Body>
buildObject
in class BodyWithContentTypeDTO
Copyright © 2020. All rights reserved.