Package caldavclientlibrary :: Package client :: Module clientsession :: Class CalDAVSession
[hide private]
[frames] | no frames]

Class CalDAVSession

source code

                   object --+        
                            |        
protocol.http.session.Session --+    
                                |    
  protocol.webdav.session.Session --+
                                    |
                                   CalDAVSession

Nested Classes [hide private]
  logger
Instance Methods [hide private]
 
__init__(self, server, port=None, ssl=False, user='', pswd='', principal=None, root=None, logging=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_initCalDAVState(self) source code
 
_discoverPrincipal(self) source code
 
setUserPswd(self, user, pswd) source code
 
testResource(self, rurl) source code
 
getPropertyNames(self, rurl) source code
 
getProperties(self, rurl, props, xmldata=False) source code
 
getPropertiesOnHierarchy(self, rurl, props) source code
 
getHrefListProperty(self, rurl, propname) source code
 
getSelfProperties(self, rurl, props) source code
 
getSelfHrefs(self, rurl) source code
 
getSelfPrincipalResource(self, rurl) source code
 
setProperties(self, rurl, props) source code
 
setACL(self, rurl, aces) source code
 
makeCollection(self, rurl) source code
 
makeCalendar(self, rurl, displayname=None, description=None) source code
 
makeAddressBook(self, rurl, displayname=None, description=None) source code
 
deleteResource(self, rurl) source code
 
moveResource(self, rurlFrom, rurlTo) source code
 
readData(self, rurl) source code
 
writeData(self, rurl, data, contentType) source code
 
importData(self, rurl, data, contentType) source code
 
displayHTTPError(self, request) source code
 
openSession(self) source code
 
closeSession(self) source code
 
runSession(self, request) source code
 
doSession(self, request) source code
 
doRequest(self, request) source code
 
handleHTTPError(self, request) source code
 
getAuthorizor(self, first_time, wwwhdrs) source code
 
writeRequestData(self, request) source code
 
readResponseData(self, request, response) source code
 
setServerType(self, type) source code
 
setServerDescriptor(self, txt) source code
 
setServerCapability(self, txt) source code

Inherited from protocol.webdav.session.Session: addVersion, hasDAV, hasDAVACL, hasDAVLocking, hasDAVVersion, initialise

Inherited from protocol.http.session.Session: addHeaders, closeConnection, getAuthorization, hasAuthorization, isConnectionOpen, needConnection, openConnection, sendRequest, setServer

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from protocol.http.session.Session: STATE_CLOSED, STATE_OPEN

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, server, port=None, ssl=False, user='', pswd='', principal=None, root=None, logging=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

displayHTTPError(self, request)

source code 
Overrides: protocol.http.session.Session.displayHTTPError

openSession(self)

source code 
Overrides: protocol.http.session.Session.openSession

closeSession(self)

source code 
Overrides: protocol.http.session.Session.closeSession

runSession(self, request)

source code 
Overrides: protocol.http.session.Session.runSession

doRequest(self, request)

source code 
Overrides: protocol.http.session.Session.doRequest

handleHTTPError(self, request)

source code 
Overrides: protocol.http.session.Session.handleHTTPError

getAuthorizor(self, first_time, wwwhdrs)

source code 
Overrides: protocol.webdav.session.Session.getAuthorizor

setServerType(self, type)

source code 
Overrides: protocol.webdav.session.Session.setServerType

setServerDescriptor(self, txt)

source code 
Overrides: protocol.webdav.session.Session.setServerDescriptor

setServerCapability(self, txt)

source code 
Overrides: protocol.webdav.session.Session.setServerCapability