Creates a data response with the given data.
Creates an end-of-stream response.
Creates a failure response with the given exception.