Package net.officefloor.woof.mock
Class MockObjectResponse<T>
java.lang.Object
net.officefloor.woof.mock.MockObjectResponse<T>
- All Implemented Interfaces:
ObjectResponse<T>
Mock
ObjectResponse.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MockObjectResponse
public MockObjectResponse()
-
-
Method Details
-
getObject
Obtains the sent object.- Returns:
- Sent object.
-
send
Description copied from interface:ObjectResponseSends theObject.- Specified by:
sendin interfaceObjectResponse<T>- Parameters:
object-Objectto send as response.- Throws:
HttpException- If fails to send theObject.
-