Package org.mockserver.model
Class BinaryResponse
java.lang.Object
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mockserver.model.Action
Action.Direction, Action.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BinaryResponsestatic BinaryResponsebinaryResponse(byte[] binaryData) booleanbyte[]getType()inthashCode()withBinaryData(byte[] binaryData) Methods inherited from class org.mockserver.model.Action
getDelay, getExpectationId, isPrimary, setExpectationId, withDelay, withDelay, withPrimaryMethods inherited from class org.mockserver.model.ObjectWithJsonToString
toStringMethods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
Constructor Details
-
BinaryResponse
public BinaryResponse()
-
-
Method Details
-
binaryResponse
-
binaryResponse
-
getBinaryData
public byte[] getBinaryData() -
withBinaryData
-
getType
- Specified by:
getTypein classAction<BinaryResponse>
-
equals
- Overrides:
equalsin classAction<BinaryResponse>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAction<BinaryResponse>
-