CDAVInfo



Member Functions

=

   public:

CDAVInfo& operator =(CDAVInfo& rhs);

assignment operator


CDAVInfo

   public:

CDAVInfo();

object constructor


CDAVInfo

   public:

CDAVInfo(CDAVInfo &rhs);

object constructor


getDavClassSupport

   public:

std::string& getDavClassSupport();

returns the DAV server class


getHadMSHeaderFields

   public:

Boolean getHasMSHeaderFields();

returns whether the server returned any Microsoft specific HTTP headers


getHasExecutableSupport

   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.


getMSHeaderFields

   public:

std::string& getMSHeaderFields();

returns the content of any server returned any Microsoft specific HTTP headers


getServerType

   public:

std::string& getServerType();

returns the server type (ie, Apache 1.3.9/mod_dav)


getSupportedOperations

   public:

SInt32 getSupportedOperations();

returns all supported operations as specified by ProtocolOperations ANDed together


setDavClassSupport

   public:

void setDavClassSupport(std::string& vl);

sets the DAV server class


setMSHeaderFields

   public:

void setMSHeaderFields(std::string &msHdrs);

sets the contents of any Microsoft Authoring HTTP headers


setServerType

   public:

void setServerType(std::string &st);

sets the server type


setSupportedOperations

   public:

void setSupportedOperations(SInt32 ops);

set all supported operations as specified by ProtocolOperations ANDed together


~CDAVInfo

   public:

virtual ~CDAVInfo();

object destructor


Member Data

ProtocolOperations

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
  };

Constants

NameDescription
noOperationsno recognized operations returned from the server. These values are ANDed together in a bitfield.
HTTP_Getthe server implements GET
HTTP_Headthe server implements HEAD
HTTP_Postthe server implements POST
HTTP_Putthe server implements PUT
HTTP_Optionsthe server implements OPTIONS
DAV_PropFindthe server implements PROPFIND
DAV_Mkcolthe server implements MKCOL
DAV_Deletethe server implements DELETE
DAV_Copythe server implements COPY
DAV_Movethe server implements MOVE
DAV_PropPatchthe server implements PROPPATCH
DAV_Lockthe server implements LOCK
DAV_Unlockthe server implements UNLOCK


© 1999-2000, Thomas Bednarz, Jr. — (Last Updated 7/16/2000)