Package net.officefloor.web
Interface ObjectResponse<T>
-
- All Known Implementing Classes:
MockObjectResponse
public interface ObjectResponse<T>Dependency injected interface to send the
Objectresponse.See
HttpResponsefor decorating the HTTP response. May also injectServerHttpConnectionfor dynamic decorating.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsend(T object)Sends theObject.
-
-
-
Method Detail
-
send
void send(T object) throws HttpException
Sends theObject.- Parameters:
object-Objectto send as response.- Throws:
HttpException- If fails to send theObject.
-
-