Package org.mockserver.model
Class BinaryBody
- Author:
- jamesdbloom
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.mockserver.model.BodyWithContentType
contentType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BinaryBodybinary(byte[] body) static BinaryBodybooleanbyte[]byte[]getValue()inthashCode()toString()Methods inherited from class org.mockserver.model.BodyWithContentType
getCharset, getContentTypeMethods inherited from class org.mockserver.model.Body
getOptional, getType, withOptionalMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Constructor Details
-
BinaryBody
public BinaryBody(byte[] bytes) -
BinaryBody
-
-
Method Details
-
binary
-
binary
-
getValue
public byte[] getValue() -
getRawBytes
public byte[] getRawBytes()- Overrides:
getRawBytesin classBody<byte[]>
-
toString
- Overrides:
toStringin classObjectWithJsonToString
-
equals
- Overrides:
equalsin classBodyWithContentType<byte[]>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBodyWithContentType<byte[]>
-