Package net.officefloor.web
Interface ObjectResponse<T>
- All Known Implementing Classes:
MockObjectResponse
public interface ObjectResponse<T>
Dependency injected interface to send the Object response.
See HttpResponse for decorating the HTTP response. May also inject
ServerHttpConnection for dynamic decorating.
- Author:
- Daniel Sagenschneider
-
Method Summary
-
Method Details
-
send
Sends theObject.- Parameters:
object-Objectto send as response.- Throws:
HttpException- If fails to send theObject.
-