Class BinaryResponseDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.serialization.model.BinaryResponseDTO
-
- All Implemented Interfaces:
DTO<BinaryResponse>
public class BinaryResponseDTO extends ObjectWithReflectiveEqualsHashCodeToString implements DTO<BinaryResponse>
-
-
Constructor Summary
Constructors Constructor Description BinaryResponseDTO()BinaryResponseDTO(BinaryResponse binaryResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryResponsebuildObject()byte[]getBinaryData()DelayDTOgetDelay()booleanisPrimary()BinaryResponseDTOsetBinaryData(byte[] binaryData)BinaryResponseDTOsetDelay(DelayDTO delay)BinaryResponseDTOsetPrimary(boolean primary)-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
-
-
-
-
Constructor Detail
-
BinaryResponseDTO
public BinaryResponseDTO(BinaryResponse binaryResponse)
-
BinaryResponseDTO
public BinaryResponseDTO()
-
-
Method Detail
-
buildObject
public BinaryResponse buildObject()
- Specified by:
buildObjectin interfaceDTO<BinaryResponse>
-
getDelay
public DelayDTO getDelay()
-
setDelay
public BinaryResponseDTO setDelay(DelayDTO delay)
-
getBinaryData
public byte[] getBinaryData()
-
setBinaryData
public BinaryResponseDTO setBinaryData(byte[] binaryData)
-
isPrimary
public boolean isPrimary()
-
setPrimary
public BinaryResponseDTO setPrimary(boolean primary)
-
-