public:
CDAVInfo& operator =(CDAVInfo& rhs);
assignment operator
public:
CDAVInfo();
object constructor
public:
CDAVInfo(CDAVInfo &rhs);
object constructor
public:
std::string& getDavClassSupport();
returns the DAV server class
public:
Boolean getHasMSHeaderFields();
returns whether the server returned any Microsoft specific HTTP headers
public:
Boolean getHasExecutableSupport();
mod_dav 1.0 introduced a custom property to allow users to set the executable bit on a Unix filesystem. The presence of this property is signaled with in the HTTP header DAV: by an opaque string. This function returns true if this function is available.
public:
std::string& getMSHeaderFields();
returns the content of any server returned any Microsoft specific HTTP headers
public:
std::string& getServerType();
returns the server type (ie, Apache 1.3.9/mod_dav)
public:
SInt32 getSupportedOperations();
returns all supported operations as specified by ProtocolOperations ANDed together
public:
void setDavClassSupport(std::string& vl);
sets the DAV server class
public:
void setMSHeaderFields(std::string &msHdrs);
sets the contents of any Microsoft Authoring HTTP headers
public:
void setServerType(std::string &st);
sets the server type
public:
void setSupportedOperations(SInt32 ops);
set all supported operations as specified by ProtocolOperations ANDed together
public:
virtual ~CDAVInfo();
object destructor
public:
enum ProtocolOperations {
noOperations = 0,
HTTP_Get = 1<<0,
HTTP_Head = 1<<1,
HTTP_Post = 1<<2,
HTTP_Put = 1<<3,
HTTP_Options = 1<<4,
DAV_PropFind = 1<<5,
DAV_Mkcol = 1<<6,
DAV_Delete = 1<<7,
DAV_Copy = 1<<8,
DAV_Move = 1<<9,
DAV_PropPatch = 1<<10,
DAV_Lock = 1<<11,
DAV_Unlock = 1<<12
};
Name Description noOperations no recognized operations returned from the server. These values are ANDed together in a bitfield. HTTP_Get the server implements GET HTTP_Head the server implements HEAD HTTP_Post the server implements POST HTTP_Put the server implements PUT HTTP_Options the server implements OPTIONS DAV_PropFind the server implements PROPFIND DAV_Mkcol the server implements MKCOL DAV_Delete the server implements DELETE DAV_Copy the server implements COPY DAV_Move the server implements MOVE DAV_PropPatch the server implements PROPPATCH DAV_Lock the server implements LOCK DAV_Unlock the server implements UNLOCK
© 1999-2000, Thomas Bednarz, Jr. (Last Updated 7/16/2000)