## [Zend_Http] element index

### Package indexes

- Zend_Registry
- default
- Zend_Acl
- Zend_Mime
- Zend_Mime_Decode
- ZForm
- Zend_Controller
- Zend_Server
- Zend_Rest
- Zend_Service
- Zend_Session_Core
- Zend_Exception
- Zend_Json
- Zend_XmlRpc
- Xml
- Zend_Db
- Zend_View
- Zend_Mail
- Zend_Request
- Zend

All elements
_
top

_flattenCookiesArray
  Zend_Http_Cookiejar::_flattenCookiesArray() in Cookiejar.php
  Helper function to recursivly flatten an array. Shoud be used when exporting the cookies array (or parts of it)
_matchDomain
  Zend_Http_Cookiejar::_matchDomain() in Cookiejar.php
  Return a subset of the cookies array matching a specific domain
_matchPath
  Zend_Http_Cookiejar::_matchPath() in Cookiejar.php
  Return a subset of a domain-matching cookies that also match a specified path
__construct
  Zend_Http_Cookie::__construct() in Cookie.php
  Cookie object constructor
__construct
  Zend_Http_Cookiejar::__construct() in Cookiejar.php
  Construct a new CookieJar object
$_aliases
  Zend_Http_Request::$_aliases in Request.php
  Alias keys for request parameters
$_basePath
  Zend_Http_Request::$_basePath in Request.php
  Base path of request
$_baseUrl
  Zend_Http_Request::$_baseUrl in Request.php
  Base URL of request
$_params
  Zend_Http_Request::$_params in Request.php
  Instance parameters
$_pathInfo
  Zend_Http_Request::$_pathInfo in Request.php
  PATH_INFO
$_requestUri
  Zend_Http_Request::$_requestUri in Request.php
  REQUEST_URI
__construct
  Zend_Http_Request::__construct() in Request.php
  Constructor
__get
  Zend_Http_Request::__get() in Request.php
  Access values contained in the superglobals as public members Order of precedence: 1. GET, 2. POST, 3. COOKIE, 4. SERVER, 5. ENV
__isset
  Zend_Http_Request::__isset() in Request.php
  Check to see if a property is set
__set
  Zend_Http_Request::__set() in Request.php
  Set values
__construct
  Zend_Http_Response::__construct() in Response.php
  HTTP response constructor

a
top

addCookie
  Zend_Http_Cookiejar::addCookie() in Cookiejar.php
  Add a cookie to the jar. Cookie should be passed either as a Zend_Http_Cookie object or as a string - in which case an object is created from the string.
addCookiesFromResponse
  Zend_Http_Cookiejar::addCookiesFromResponse() in Cookiejar.php
  Parse an HTTP response, adding all the cookies set in that response to the cookie jar.
asString
  Zend_Http_Cookie::asString() in Cookie.php
  Get the cookie as a string, suitable for sending as a "Cookie" header in an HTTP request
asString
  Zend_Http_Response::asString() in Response.php
  Get the entire response as string

b
top

$body
  Zend_Http_Response::$body in Response.php
  The HTTP response body

c
top

$cookies
  Zend_Http_Cookiejar::$cookies in Cookiejar.php
  Array storing cookies
Cookie.php
  Cookie.php in Cookie.php
Cookiejar.php
  Cookiejar.php in Cookiejar.php
$code
  Zend_Http_Response::$code in Response.php
  The HTTP response code

d
top

$domain
  Zend_Http_Cookie::$domain in Cookie.php
  Cookie domain
deleteAllCookies
  Zend_Http_Cookiejar::deleteAllCookies() in Cookiejar.php
  Remove all cookies from the jar
deleteCookies
  Zend_Http_Cookiejar::deleteCookies() in Cookiejar.php
  Delete a cookie according to it's name and domain. If no name is specified, all cookies from this domain will be cleared out.
deleteExpiredCookies
  Zend_Http_Cookiejar::deleteExpiredCookies() in Cookiejar.php
  Clear all cookies who's expiry time is older than $time
deleteSessionCookies
  Zend_Http_Cookiejar::deleteSessionCookies() in Cookiejar.php
  Clear "Session" cookies (cookies without specific expiry time)
decodeChunkedBody
  Zend_Http_Response::decodeChunkedBody() in Response.php
  Decode a "chunked" transfer-encoded body and return the decoded text
decodeDeflate
  Zend_Http_Response::decodeDeflate() in Response.php
  Decode a zlib deflated message (when Content-encoding = deflate)
decodeGzip
  Zend_Http_Response::decodeGzip() in Response.php
  Decode a gzip encoded message (when Content-encoding = gzip)

e
top

$expires
  Zend_Http_Cookie::$expires in Cookie.php
  Cookie expiry date
Exception.php
  Exception.php in Exception.php
extractBody
  Zend_Http_Response::extractBody() in Response.php
  Extract the body from a response string
extractCode
  Zend_Http_Response::extractCode() in Response.php
  Extract the response code from a response string
extractHeaders
  Zend_Http_Response::extractHeaders() in Response.php
  Extract the headers from a response string
extractMessage
  Zend_Http_Response::extractMessage() in Response.php
  Extract the HTTP message from a response
extractVersion
  Zend_Http_Response::extractVersion() in Response.php
  Extract the HTTP version from a response

f
top

factory
  Zend_Http_Cookiejar::factory() in Cookiejar.php
  Create a new CookieJar object and automatically load into it all the cookies set in an Http_Response object. If $uri is set, it will be considered as the requested URI for setting default domain and path of the cookie.
factory
  Zend_Http_Cookie::factory() in Cookie.php
  Generate a new Cookie object from a cookie string (for example the value of the Set-Cookie HTTP header)
factory
  Zend_Http_Response::factory() in Response.php
  Create a new Zend_Http_Response object from a string

g
top

getAllCookies
  Zend_Http_Cookiejar::getAllCookies() in Cookiejar.php
  Get all cookies in the cookie jar as an array
getCookie
  Zend_Http_Cookiejar::getCookie() in Cookiejar.php
  Get a specific cookie according to a URI and name
getDomain
  Zend_Http_Cookie::getDomain() in Cookie.php
  Get cookie domain
getExpiryTime
  Zend_Http_Cookie::getExpiryTime() in Cookie.php
  Get the expiry time of the cookie, or null if no expiry time is set
getMatchingCookies
  Zend_Http_Cookiejar::getMatchingCookies() in Cookiejar.php
  Return an array of all cookies matching a specific request according to the request URI, whether session cookies should be sent or not, and the time to consider as "now" when checking cookie expiry time.
getName
  Zend_Http_Cookie::getName() in Cookie.php
  Get Cookie name
getPath
  Zend_Http_Cookie::getPath() in Cookie.php
  Get the cookie path
getValue
  Zend_Http_Cookie::getValue() in Cookie.php
  Get cookie value
get
  Zend_Http_Request::get() in Request.php
  Alias to __get
getAlias
  Zend_Http_Request::getAlias() in Request.php
  Retrieve an alias
getAliases
  Zend_Http_Request::getAliases() in Request.php
  Retrieve the list of all aliases
getBasePath
  Zend_Http_Request::getBasePath() in Request.php
  Everything in REQUEST_URI before PATH_INFO not including the filename <img src="<?=$basePath?>/images/zend.png"/>
getBaseUrl
  Zend_Http_Request::getBaseUrl() in Request.php
  Everything in REQUEST_URI before PATH_INFO <form action="<?=$baseUrl?>/news/submit" method="POST"/>
getCookie
  Zend_Http_Request::getCookie() in Request.php
  Retrieve a member of the $_COOKIE superglobal
getEnv
  Zend_Http_Request::getEnv() in Request.php
  Retrieve a member of the $_ENV superglobal
getMethod
  Zend_Http_Request::getMethod() in Request.php
  Return the method by which the request was made
getParam
  Zend_Http_Request::getParam() in Request.php
  Retrieve a parameter
getParams
  Zend_Http_Request::getParams() in Request.php
  Retrieve an array of parameters
getPathInfo
  Zend_Http_Request::getPathInfo() in Request.php
  Returns everything between the BaseUrl and QueryString.
getPost
  Zend_Http_Request::getPost() in Request.php
  Retrieve a member of the $_POST superglobal
getQuery
  Zend_Http_Request::getQuery() in Request.php
  Retrieve a member of the $_GET superglobal
getRequestUri
  Zend_Http_Request::getRequestUri() in Request.php
  Returns the REQUEST_URI taking into account platform differences between Apache and IIS
getServer
  Zend_Http_Request::getServer() in Request.php
  Retrieve a member of the $_SERVER superglobal
getBody
  Zend_Http_Response::getBody() in Response.php
  Get the response body as string
getHeader
  Zend_Http_Response::getHeader() in Response.php
  Get a specific header as string, or null if it is not set
getHeaders
  Zend_Http_Response::getHeaders() in Response.php
  Get the response headers
getHeadersAsString
  Zend_Http_Response::getHeadersAsString() in Response.php
  Get all headers as string
getMessage
  Zend_Http_Response::getMessage() in Response.php
  Return a message describing the HTTP response code (Eg. "OK", "Not Found", "Moved Permanently")
getRawBody
  Zend_Http_Response::getRawBody() in Response.php
  Get the raw response body (as transfered "on wire") as string
getStatus
  Zend_Http_Response::getStatus() in Response.php
  Get the HTTP response status code
getVersion
  Zend_Http_Response::getVersion() in Response.php
  Get the HTTP version of the response

h
top

has
  Zend_Http_Request::has() in Request.php
  Alias to __isset()
$headers
  Zend_Http_Response::$headers in Response.php
  The HTTP response headers array

i
top

isExpired
  Zend_Http_Cookie::isExpired() in Cookie.php
  Check whether the cookie has expired
isSecure
  Zend_Http_Cookie::isSecure() in Cookie.php
  Check whether the cookie should only be sent over secure connections
isSessionCookie
  Zend_Http_Cookie::isSessionCookie() in Cookie.php
  Check whether the cookie is a session cookie (has no expiry time set)
isPost
  Zend_Http_Request::isPost() in Request.php
  Was the request made by POST?
isError
  Zend_Http_Response::isError() in Response.php
  Check whether the response is an error
isRedirect
  Zend_Http_Response::isRedirect() in Response.php
  Check whether the response is a redirection
isSuccessful
  Zend_Http_Response::isSuccessful() in Response.php
  Check whether the response in successful

m
top

match
  Zend_Http_Cookie::match() in Cookie.php
  Checks whether the cookie should be sent on not in a specific scenario
$message
  Zend_Http_Response::$message in Response.php
  The HTTP response code as string (e.g. 'Not Found' for 404 or 'Internal Server Error' for 500)

n
top

$name
  Zend_Http_Cookie::$name in Cookie.php
  Cookie name

o
top

COOKIE_OBJECT
  Zend_Http_Cookiejar::COOKIE_OBJECT in Cookiejar.php
  Return cookie(s) as a Zend_Http_Cookie object
COOKIE_STRING_ARRAY
  Zend_Http_Cookiejar::COOKIE_STRING_ARRAY in Cookiejar.php
  Return cookie(s) as a string (suitable for sending in an HTTP request)
COOKIE_STRING_CONCAT
  Zend_Http_Cookiejar::COOKIE_STRING_CONCAT in Cookiejar.php
  Return all cookies as one long string (suitable for sending in an HTTP request)

p
top

$path
  Zend_Http_Cookie::$path in Cookie.php
  Cookie path

r
top

Response.php
  Response.php in Response.php
Request.php
  Request.php in Request.php
responseCodeAsText
  Zend_Http_Response::responseCodeAsText() in Response.php
  A convenience function that returns a text representation of HTTP response codes. Returns null for unknown codes.

s
top

$secure
  Zend_Http_Cookie::$secure in Cookie.php
  Whether the cookie is secure or not
set
  Zend_Http_Request::set() in Request.php
  Alias to __set()
setAlias
  Zend_Http_Request::setAlias() in Request.php
  Set a key alias
setBasePath
  Zend_Http_Request::setBasePath() in Request.php
  Set the base path for the URL
setBaseUrl
  Zend_Http_Request::setBaseUrl() in Request.php
  Set the base URL of the request; i.e., the segment leading to the script name
setParam
  Zend_Http_Request::setParam() in Request.php
  Set a userland parameter
setParams
  Zend_Http_Request::setParams() in Request.php
  Set parameters
setPathInfo
  Zend_Http_Request::setPathInfo() in Request.php
  Set the PATH_INFO string
setRequestUri
  Zend_Http_Request::setRequestUri() in Request.php
  Set the REQUEST_URI on which the instance operates

v
top

$value
  Zend_Http_Cookie::$value in Cookie.php
  Cookie value
$version
  Zend_Http_Response::$version in Response.php
  The HTTP version (1.0, 1.1)

z
top

Zend_Http_Cookie
  Zend_Http_Cookie in Cookie.php
  Zend_Http_Cookie is a class describing an HTTP cookie and all it's parameters.
Zend_Http_Cookiejar
  Zend_Http_Cookiejar in Cookiejar.php
  A Zend_Http_Cookiejar object is designed to contain and maintain HTTP cookies, and should be used along with Zend_Http_Client in order to manage cookies across HTTP requests and responses.
Zend_Http_Exception
  Zend_Http_Exception in Exception.php
Zend_Http_Request
  Zend_Http_Request in Request.php
  Zend_Http_Request
Zend_Http_Response
  Zend_Http_Response in Response.php
  Zend_Http_Response represents an HTTP 1.0 / 1.1 response message. It includes easy access to all the response's different elemts, as well as some convenience methods for parsing and validating HTTP responses.