Class Index | File Index

Classes


Class nl.sara.webdav.Response

a WebDAV response
Defined in: response.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
The error text
 
The path of the resource
 
In case of a 3XX response, the value that would normally be in the 'Location' header
 
The response description
 
The (HTTP) status code
Method Summary
Method Attributes Method Name and Description
 
addProperty(property)
Adds a WebDAV property
 
Gets the namespace names
 
getProperty(namespace, prop)
Gets a WebDAV property
 
getPropertyNames(namespace)
Gets the property names of a namespace
Class Detail
nl.sara.webdav.Response(xmlNode)
Parameters:
{Node} xmlNode Optional
Optional; the xmlNode describing the response object (should be compliant with RFC 4918)
Field Detail
{String} error
The error text

{String} href
The path of the resource

{String} location
In case of a 3XX response, the value that would normally be in the 'Location' header

{String} responsedescription
The response description

{String} status
The (HTTP) status code
Method Detail
{nl.sara.webdav.Response} addProperty(property)
Adds a WebDAV property
Parameters:
{nl.sara.webdav.Property} property
The property
Returns:
{nl.sara.webdav.Response} The response itself for chaining methods

{String[]} getNamespaceNames()
Gets the namespace names
Returns:
{String[]} The names of the different namespaces

{nl.sara.webdav.Property} getProperty(namespace, prop)
Gets a WebDAV property
Parameters:
{String} namespace
The namespace of the WebDAV property
{String} prop
The WebDAV property to get
Returns:
{nl.sara.webdav.Property} The value of the WebDAV property or undefined if the WebDAV property doesn't exist

{String[]} getPropertyNames(namespace)
Gets the property names of a namespace
Parameters:
{String} namespace
The namespace of the WebDAV property
Returns:
{String[]} The names of the different properties of a namespace

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 23 2014 15:51:05 GMT+0200 (CEST)