web\Response init()

init() public method Initializes this component. public void init ( )

web\Response getIsOk()

getIsOk() public method public boolean getIsOk ( )return boolean Whether this response is OK

web\Response getIsServerError()

getIsServerError() public method public boolean getIsServerError ( )return boolean Whether this response indicates a server error

web\Response getIsRedirection()

getIsRedirection() public method public boolean getIsRedirection ( )return boolean Whether this response is a redirection

web\Response getIsInvalid()

getIsInvalid() public method public boolean getIsInvalid ( )return boolean Whether this response has a valid $statusCode.

web\Response getIsNotFound()

getIsNotFound() public method public boolean getIsNotFound ( )return boolean Whether this response indicates the currently requested resource is not found

web\Response getIsInformational()

getIsInformational() public method public boolean getIsInformational ( )return boolean Whether this response is informational

web\Response getIsForbidden()

getIsForbidden() public method public boolean getIsForbidden ( )return boolean Whether this response indicates the current request is forbidden

web\Response getIsEmpty()

getIsEmpty() public method public boolean getIsEmpty ( )return boolean Whether this response is empty

web\Response getHttpRange()

getHttpRange() protected method Determines the HTTP range given in the request. protected array|boolean getHttpRange ( $fileSize )$fileSize integer The size of the file that will be used to validate the requested HTTP range. return array|boolean The range (begin, end), or false if the range request is invalid.