Path

ez components / documentation / api reference / 2007.2beta1 / webdav


eZ Components 2007.2beta1

Webdav: ezcWebdavMultistatusResponse

[ Tutorial ] [ Plugin architecture ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcWebdavMultistatusResponse

Class for multistatus responses, aggregating other responses. [source]

Parents

ezcWebdavResponse
   |
   --ezcWebdavMultistatusResponse

Inherited Constants

From ezcWebdavResponse:
ezcWebdavResponse::STATUS_100    Response status codes
ezcWebdavResponse::STATUS_101
ezcWebdavResponse::STATUS_200
ezcWebdavResponse::STATUS_201
ezcWebdavResponse::STATUS_202
ezcWebdavResponse::STATUS_203
ezcWebdavResponse::STATUS_204
ezcWebdavResponse::STATUS_205
ezcWebdavResponse::STATUS_206
ezcWebdavResponse::STATUS_207
ezcWebdavResponse::STATUS_300
ezcWebdavResponse::STATUS_301
ezcWebdavResponse::STATUS_302
ezcWebdavResponse::STATUS_303
ezcWebdavResponse::STATUS_304
ezcWebdavResponse::STATUS_305
ezcWebdavResponse::STATUS_400
ezcWebdavResponse::STATUS_401
ezcWebdavResponse::STATUS_402
ezcWebdavResponse::STATUS_403
ezcWebdavResponse::STATUS_404
ezcWebdavResponse::STATUS_405
ezcWebdavResponse::STATUS_406
ezcWebdavResponse::STATUS_407
ezcWebdavResponse::STATUS_408
ezcWebdavResponse::STATUS_409
ezcWebdavResponse::STATUS_410
ezcWebdavResponse::STATUS_411
ezcWebdavResponse::STATUS_412
ezcWebdavResponse::STATUS_413
ezcWebdavResponse::STATUS_414
ezcWebdavResponse::STATUS_415
ezcWebdavResponse::STATUS_423
ezcWebdavResponse::STATUS_424
ezcWebdavResponse::STATUS_500
ezcWebdavResponse::STATUS_501
ezcWebdavResponse::STATUS_502
ezcWebdavResponse::STATUS_503
ezcWebdavResponse::STATUS_504
ezcWebdavResponse::STATUS_505
ezcWebdavResponse::STATUS_507

Inherited Member Variables

From ezcWebdavResponse:
public  ezcWebdavResponse::$errorNames
protected  ezcWebdavResponse::$headers
protected  ezcWebdavResponse::$properties

Method Summary

public void __construct( $status, $requestUri )
Construct multistatus from any number of requests, provided either in arrays with requests or directly as constructor parameters.
public void validateHeaders( )
Validates the headers set in this request.

Inherited Methods

From ezcWebdavResponse :
public void ezcWebdavResponse::__construct()
Construct error response from status.
public mixed ezcWebdavResponse::getHeader()
Returns the contents of a specific header.
public array(string=>string) ezcWebdavResponse::getHeaders()
Returns all headers.
public void ezcWebdavResponse::setHeader()
Sets a header to a specified value.
public void ezcWebdavResponse::validateHeaders()
Validates the headers set in this request.
public string ezcWebdavResponse::__toString()
Return valid HTTP response string from error code.

Methods

__construct

void __construct( int $status, string $requestUri )
Construct multistatus from any number of requests, provided either in arrays with requests or directly as constructor parameters.

Parameters

Name Type Description
$status int  
$requestUri string  

Redefinition of

Method Description
ezcWebdavResponse::__construct() Construct error response from status.

validateHeaders

void validateHeaders( )
Validates the headers set in this request.
This method is called by ezcWebdavServer after the response object has been created by an ezcWebdavBackend. It must validate all headers specific for this request for existance of required headers and validity of all headers used by the specific request implementation. The call of the parent method is *mandatory* to have common WebDAV and HTTP headers validated, too!

Throws

ClassDescription
ezcWebdavMissingHeaderException if a required header is missing.
ezcWebdavInvalidHeaderException if a header is present, but its content does not validate.

Redefinition of

Method Description
ezcWebdavResponse::validateHeaders() Validates the headers set in this request.

Last updated: Wed, 28 Nov 2007