Package caldavclientlibrary :: Package protocol :: Package webdav :: Module lock :: Class Lock
[hide private]
[frames] | no frames]

Class Lock

source code

                          object --+        
                                   |        
http.requestresponse.RequestResponse --+    
                                       |    
         requestresponse.RequestResponse --+
                                           |
                                          Lock

Instance Methods [hide private]
 
__init__(self, session, url, depth, scope, owner, timeout, exists=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
initRequestData(self) source code
 
addHeaders(self, hdrs) source code
 
generateXML(self, os) source code
 
getLockToken(self) source code

Inherited from requestresponse.RequestResponse: setLock

Inherited from http.requestresponse.RequestResponse: addContentHeaders, cacheHeaders, clearResponse, generateRequestHeader, getChunked, getCompleted, getConnectionClose, getContentLength, getMethod, getRequestData, getRequestHeaders, getRequestStartLine, getResponseData, getResponseHeader, getResponseHeaders, getSession, getStatusCode, getStatusReason, getURL, hasRequestData, hasResponseData, hasResponseHeader, isRedirect, parseStatusLine, queuedForSending, readFoldedLine, setComplete, setData, setETag, setResponseHeaders, setResponseStatus, setSession, setURL

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

Class Variables [hide private]
  eExclusive = 0
  eShared = 1
  eResourceMustExist = 0
  eResourceMustNotExist = 1
  eResourceMayExist = 2
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, session, url, depth, scope, owner, timeout, exists=0)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

addHeaders(self, hdrs)

source code 
Overrides: http.requestresponse.RequestResponse.addHeaders