Class that represents an HTTP 1.0 / 1.1 response message.
@package EasyRdf @copyright Copyright (c) 2009-2010 Nicholas J Humfrey Copyright (c) 2005-2009 Zend Technologies USA Inc. @license http://www.opensource.org/licenses/bsd-license.php
Expanded class hierarchy of EasyRdf_Http_Response
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EasyRdf_Http_Response:: |
private | property | The HTTP response body | |
EasyRdf_Http_Response:: |
private | property | The HTTP response headers array | |
EasyRdf_Http_Response:: |
private | property | The HTTP response code as string (e.g. 'Not Found' for 404 or 'Internal Server Error' for 500) | |
EasyRdf_Http_Response:: |
private | property | The HTTP response status code | |
EasyRdf_Http_Response:: |
public | function | Get the entire response as string | |
EasyRdf_Http_Response:: |
public static | function | Decode a "chunked" transfer-encoded body and return the decoded text | |
EasyRdf_Http_Response:: |
public static | function | Create an EasyRdf_Http_Response object from a HTTP response string | |
EasyRdf_Http_Response:: |
public | function | Get the response body as string | |
EasyRdf_Http_Response:: |
public | function | Get a specific header as string, or null if it is not set | |
EasyRdf_Http_Response:: |
public | function | Get the response headers | |
EasyRdf_Http_Response:: |
public | function | Get all headers as string | |
EasyRdf_Http_Response:: |
public | function | Return a message describing the HTTP response code (Eg. "OK", "Not Found", "Moved Permanently") | |
EasyRdf_Http_Response:: |
public | function | Get the raw response body (as transfered "on wire") as string | |
EasyRdf_Http_Response:: |
public | function | Get the HTTP response status code | |
EasyRdf_Http_Response:: |
public | function | Get the HTTP version of the response | |
EasyRdf_Http_Response:: |
public | function | Check whether the response is an error | |
EasyRdf_Http_Response:: |
public | function | Check whether the response is a redirection | |
EasyRdf_Http_Response:: |
public | function | Check whether the response in successful | |
EasyRdf_Http_Response:: |
public | function | Constructor. | |
EasyRdf_Http_Response:: |
public | function | Implements magic __toString() |