Package org.mockserver.model
Class BinaryResponse
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.Action<BinaryResponse>
-
- org.mockserver.model.BinaryResponse
-
public class BinaryResponse extends Action<BinaryResponse>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mockserver.model.Action
Action.Direction, Action.Type
-
-
Constructor Summary
Constructors Constructor Description BinaryResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BinaryResponsebinaryResponse()static BinaryResponsebinaryResponse(byte[] binaryData)booleanequals(Object o)byte[]getBinaryData()Action.TypegetType()inthashCode()BinaryResponsewithBinaryData(byte[] binaryData)-
Methods inherited from class org.mockserver.model.Action
getDelay, getExpectationId, isPrimary, setExpectationId, withDelay, withDelay, withPrimary
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
-
-
-
Method Detail
-
binaryResponse
public static BinaryResponse binaryResponse()
-
binaryResponse
public static BinaryResponse binaryResponse(byte[] binaryData)
-
getBinaryData
public byte[] getBinaryData()
-
withBinaryData
public BinaryResponse withBinaryData(byte[] binaryData)
-
getType
public Action.Type getType()
- Specified by:
getTypein classAction<BinaryResponse>
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAction<BinaryResponse>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAction<BinaryResponse>
-
-