Class ITHit.WebDAV.Client.WebDavSession


class ITHit.WebDAV.Client.WebDavSession
Session for accessing WebDAV servers.
Defined in ITHitWebDAVClient.js

Constructor Summary
Constructor for WebDAV session.

Function Summary
Returns Folder object corresponding to path.
Returns HierarchyItem object corresponding to path.
Returns Resource object corresponding to path.

Constructor Details

constructor WebDavSession

WebDavSession()
Constructor for WebDAV session.

Function Details

function OpenFolder

ITHit.WebDAV.Client.Folder OpenFolder(String sPath)
Returns Folder object corresponding to path.
Parameters:
sPath Path to the folder.
Returns:
Folder corresponding to requested path.
Throws:
ITHit.WebDAV.Client.Exceptions.UnauthorizedException Incorrect credentials provided or insufficient permissions to access the requested item.
ITHit.WebDAV.Client.Exceptions.NotFoundException The requested folder doesn't exist on the server.
ITHit.WebDAV.Client.Exceptions.ForbiddenException The server refused to fulfill the request.

function OpenItem

ITHit.WebDAV.Client.HierarchyItem OpenItem(String sPath)
Returns HierarchyItem object corresponding to path.
Parameters:
sPath Path to the item.
Returns:
Item corresponding to requested path.
Throws:
ITHit.WebDAV.Client.Exceptions.UnauthorizedException Incorrect credentials provided or insufficient permissions to access the requested item.
ITHit.WebDAV.Client.Exceptions.NotFoundException The requested folder doesn't exist on the server.
ITHit.WebDAV.Client.Exceptions.ForbiddenException The server refused to fulfill the request.

function OpenResource

ITHit.WebDAV.Client.Resource OpenResource(String sPath)
Returns Resource object corresponding to path.
Parameters:
sPath Path to the resource.
Returns:
Resource corresponding to requested path.
Throws:
ITHit.WebDAV.Client.Exceptions.UnauthorizedException Incorrect credentials provided or insufficient permissions to access the requested item.
ITHit.WebDAV.Client.Exceptions.NotFoundException The requested resource doesn't exist on the server.
ITHit.WebDAV.Client.Exceptions.ForbiddenException The server refused to fulfill the request.