Constructor for ResourceResponse objects.
mixed $data: Response data that should be serialized.
int $status: The response status code.
array $headers: An array of response headers.
Overrides Response::__construct
public function __construct($data = NULL, $status = 200, $headers = array()) {
$this->responseData = $data;
parent::__construct('', $status, $headers);
}