Webdav: ezcWebdavBackend
[ ]
[ Plugin architecture ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWebdavBackend
|
Base class to be extended by all backend implementation. [
source]
The backend is meant to be extended by an implementation for your data storage. It enforces the base features required for each backend and should be extended by further interfaces for other access methods, like:
Descendents
Constants
COMPRESSION_BZIP2
= 2
|
Backend has native support for bzip2 compression. |
COMPRESSION_GZIP
= 1
|
Backend has native support for gzip compression. |
CUSTOM_LOCK
= 4
|
Backend performs locking itself - no handling by server is required. |
MULTIPART
= 16
|
Backend has native support for multipart requests. |
PARTIAL
= 8
|
Backend has native support for partial requests. |
Method Summary
Methods
get
Serves GET requests.
Parameters
Redefined in descendants as
getFeatures
int getFeatures(
)
Returns additional features supported by the backend.
Returns a bitmap of additional features supported by the backend, referenced by constants from the basic
ezcWebdavBackend class.
Redefined in descendants as
head
Serves HEAD requests.
Parameters
Redefined in descendants as
options
Required method to serve OPTIONS requests.
Parameters
performRequest
Performs the given request.
This method takes an instance of
ezcWebdavRequest in $request and dispatches it locally to the correct handling method. A corresponding
ezcWebdavResponse object will be returned. If the given request could not be dispatched, because the backend does not implement the neccessary interface or the request type is unknown, a
ezcWebdavRequestNotSupportedException is thrown.
Parameters
Throws
| Class | Description |
ezcWebdavRequestNotSupportedException |
if the given request object could not be handled by the backend. |
propFind
Serves PROPFIND requests.
The
ezcWebdavPropFindRequest object contains a definition to find one or more properties of a given collection or non-collection resource.
Parameters
Redefined in descendants as
propPatch
Serves PROPPATCH requests.
Parameters
Redefined in descendants as
Last updated: Thu, 31 Jan 2008