HTTPResponse is the result of a processed request.
It contains headers and content to be sent to a web-client. HTTP Statuscode as well as headers and content may be altered using the methods inside the class.
Located in /httpresponse.php (line 21)
PHOOL | --HTTPResponse
| Class | Description |
|---|---|
| Forbidden | A default HTTP 403 Response to be returned by a Gateway |
| NotAllowed | A default HTTP 405 Response to be returned by Gateway Firewalls |
| ConditionFailed | A default HTTP 412 Response to be returned on PRE Filter Failures |
| NoContent | A default HTTP 204 Response to be returned as an empty Response |
| NotAccepted | A default HTTP 406 Response to be returned by a Conversion Filter |
| BadRequest | A default HTTP 400 Response to be returned on Request Failures |
| NotFound | A default HTTP 404 Response to be returned by Dispatcher failures |
| A default HTTP 500 Response to be returned on Runtime Errors | |
| Created | A default HTTP 201 Response to be returned as result of PUT requests |
| Authenticate | Default Authentication Response for HTTP Basic or Digest |
| View | Class View is the base class for application Views. |
The Response body
The Content-Type of the Response
The content charset encoding of the Response
A list of headers related to the Response
The HTTP protocol version of the Response
The HTTP status code of the Response
Inherited from PHOOL
PHOOL::$debug
PHOOL::$errorlabels
PHOOL::$errorlevels
PHOOL::$errors
PHOOL::$exists
PHOOL::$logdir
PHOOL::$loglevel
PHOOL::$objname
Construct a HTTPResponse
Append a string to the content-body of the responses
Set a content body for the Response
Update the content body encoding
Add a HTTP-header to the Response
Name and Value are concatenated with a colon to create a full header.
Update the HTTP statuscode of the Response
Inherited From PHOOL
PHOOL::PHOOL()
PHOOL::debug()
PHOOL::error()
PHOOL::get_errors()
PHOOL::handle_error()
PHOOL::has_error()
PHOOL::log_error()
PHOOL::set_debug()
PHOOL::set_logdir()
PHOOL::set_loglevel()
Documentation generated on Tue, 12 May 2009 23:09:39 +0200 by phpDocumentor 1.4.1