response class : improve flexbility with sendResponse method