class EasyRdf_Http_Response

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

Hierarchy

Expanded class hierarchy of EasyRdf_Http_Response

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Response.php, line 50

View source

Members

Namesort descending Modifiers Type Description Overrides
EasyRdf_Http_Response::$body private property The HTTP response body
EasyRdf_Http_Response::$headers private property The HTTP response headers array
EasyRdf_Http_Response::$message private property The HTTP response code as string (e.g. 'Not Found' for 404 or 'Internal Server Error' for 500)
EasyRdf_Http_Response::$status private property The HTTP response status code
EasyRdf_Http_Response::asString public function Get the entire response as string
EasyRdf_Http_Response::decodeChunkedBody public static function Decode a "chunked" transfer-encoded body and return the decoded text
EasyRdf_Http_Response::fromString public static function Create an EasyRdf_Http_Response object from a HTTP response string
EasyRdf_Http_Response::getBody public function Get the response body as string
EasyRdf_Http_Response::getHeader public function Get a specific header as string, or null if it is not set
EasyRdf_Http_Response::getHeaders public function Get the response headers
EasyRdf_Http_Response::getHeadersAsString public function Get all headers as string
EasyRdf_Http_Response::getMessage public function Return a message describing the HTTP response code (Eg. "OK", "Not Found", "Moved Permanently")
EasyRdf_Http_Response::getRawBody public function Get the raw response body (as transfered "on wire") as string
EasyRdf_Http_Response::getStatus public function Get the HTTP response status code
EasyRdf_Http_Response::getVersion public function Get the HTTP version of the response
EasyRdf_Http_Response::isError public function Check whether the response is an error
EasyRdf_Http_Response::isRedirect public function Check whether the response is a redirection
EasyRdf_Http_Response::isSuccessful public function Check whether the response in successful
EasyRdf_Http_Response::__construct public function Constructor.
EasyRdf_Http_Response::__toString public function Implements magic __toString()