LibreOffice Module ucb (master)  1
Public Member Functions | Private Attributes | List of all members
webdav_ucp::DAVOptions Class Referencefinal

#include <DAVTypes.hxx>

Public Member Functions

 DAVOptions ()
 
 DAVOptions (const DAVOptions &rOther)
 
 ~DAVOptions ()
 
bool isClass1 () const
 
void setClass1 (bool Class1=true)
 
bool isClass2 () const
 
void setClass2 (bool Class2=true)
 
bool isClass3 () const
 
void setClass3 (bool Class3=true)
 
bool isHeadAllowed () const
 
void setHeadAllowed (bool HeadAllowed=true)
 
sal_uInt32 getStaleTime () const
 
void setStaleTime (const sal_uInt32 nStaleTime)
 
sal_uInt32 getRequestedTimeLife () const
 
void setRequestedTimeLife (const sal_uInt32 nRequestedTimeLife)
 
const OUString & getURL () const
 
void setURL (const OUString &sURL)
 
const OUString & getRedirectedURL () const
 
void setRedirectedURL (const OUString &sRedirectedURL)
 
void setAllowedMethods (const OUString &aAllowedMethods)
 
const OUString & getAllowedMethods () const
 
bool isLockAllowed () const
 
void setLocked (bool locked=true)
 
bool isLocked () const
 
sal_uInt16 getHttpResponseStatusCode () const
 
void setHttpResponseStatusCode (const sal_uInt16 nHttpResponseStatusCode)
 
const OUString & getHttpResponseStatusText () const
 
void setHttpResponseStatusText (const OUString &rHttpResponseStatusText)
 
void init ()
 
DAVOptionsoperator= (const DAVOptions &rOpts)
 
bool operator== (const DAVOptions &rOpts) const
 

Private Attributes

bool m_isClass1
 
bool m_isClass2
 
bool m_isClass3
 
bool m_isHeadAllowed
 for server that do not implement it More...
 
bool m_isLocked
 Internally used to maintain the locked state of the resource, only if it's a Class 2 resource. More...
 
OUString m_aAllowedMethods
 contains the methods allowed on this resource More...
 
sal_uInt32 m_nStaleTime
 target time when this capability becomes stale More...
 
sal_uInt32 m_nRequestedTimeLife
 
OUString m_sURL
 
OUString m_sRedirectedURL
 
sal_uInt16 m_nHttpResponseStatusCode
 The cached HTT response status code. It's 0 if the code was dealt with and there is no need to cache it. More...
 
OUString m_sHttpResponseStatusText
 The cached string with the server returned HTTP response status code string, corresponds to m_nHttpResponseStatusCode. More...
 

Detailed Description

Definition at line 74 of file neon/DAVTypes.hxx.

Constructor & Destructor Documentation

DAVOptions::DAVOptions ( )

Definition at line 22 of file DAVTypes.cxx.

References m_sURL.

DAVOptions::DAVOptions ( const DAVOptions rOther)

Definition at line 38 of file DAVTypes.cxx.

References m_sURL.

DAVOptions::~DAVOptions ( )

Definition at line 54 of file DAVTypes.cxx.

Member Function Documentation

const OUString& webdav_ucp::DAVOptions::getAllowedMethods ( ) const
inline

Definition at line 130 of file neon/DAVTypes.hxx.

References m_aAllowedMethods.

sal_uInt16 webdav_ucp::DAVOptions::getHttpResponseStatusCode ( ) const
inline

Definition at line 136 of file neon/DAVTypes.hxx.

References m_nHttpResponseStatusCode.

Referenced by webdav_ucp::Content::getResourceOptions().

const OUString& webdav_ucp::DAVOptions::getHttpResponseStatusText ( ) const
inline

Definition at line 139 of file neon/DAVTypes.hxx.

References m_sHttpResponseStatusText.

const OUString& webdav_ucp::DAVOptions::getRedirectedURL ( ) const
inline

Definition at line 126 of file neon/DAVTypes.hxx.

References m_sRedirectedURL.

Referenced by webdav_ucp::DAVOptionsCache::addDAVOptions().

sal_uInt32 webdav_ucp::DAVOptions::getRequestedTimeLife ( ) const
inline

Definition at line 120 of file neon/DAVTypes.hxx.

References m_nRequestedTimeLife.

sal_uInt32 webdav_ucp::DAVOptions::getStaleTime ( ) const
inline

Definition at line 117 of file neon/DAVTypes.hxx.

References m_nStaleTime.

const OUString& webdav_ucp::DAVOptions::getURL ( ) const
inline

Definition at line 123 of file neon/DAVTypes.hxx.

References m_sURL.

Referenced by webdav_ucp::DAVOptionsCache::addDAVOptions().

void webdav_ucp::DAVOptions::init ( )
inline

Definition at line 142 of file neon/DAVTypes.hxx.

Referenced by webdav_ucp::NeonSession::OPTIONS().

bool webdav_ucp::DAVOptions::isClass1 ( ) const
inline

Definition at line 105 of file neon/DAVTypes.hxx.

References m_isClass1.

Referenced by webdav_ucp::Content::getResourceOptions().

bool webdav_ucp::DAVOptions::isClass2 ( ) const
inline
bool webdav_ucp::DAVOptions::isClass3 ( ) const
inline
bool webdav_ucp::DAVOptions::isHeadAllowed ( ) const
inline

Definition at line 114 of file neon/DAVTypes.hxx.

References m_isHeadAllowed.

bool webdav_ucp::DAVOptions::isLockAllowed ( ) const
inline

Definition at line 131 of file neon/DAVTypes.hxx.

bool webdav_ucp::DAVOptions::isLocked ( ) const
inline

Definition at line 134 of file neon/DAVTypes.hxx.

References m_isLocked.

Referenced by webdav_ucp::Content::getResourceOptions().

DAVOptions & DAVOptions::operator= ( const DAVOptions rOpts)
bool DAVOptions::operator== ( const DAVOptions rOpts) const
void webdav_ucp::DAVOptions::setAllowedMethods ( const OUString &  aAllowedMethods)
inline

Definition at line 129 of file neon/DAVTypes.hxx.

Referenced by webdav_ucp::NeonSession::OPTIONS().

void webdav_ucp::DAVOptions::setClass1 ( bool  Class1 = true)
inline

Definition at line 106 of file neon/DAVTypes.hxx.

Referenced by webdav_ucp::NeonSession::OPTIONS().

void webdav_ucp::DAVOptions::setClass2 ( bool  Class2 = true)
inline

Definition at line 109 of file neon/DAVTypes.hxx.

Referenced by webdav_ucp::NeonSession::OPTIONS().

void webdav_ucp::DAVOptions::setClass3 ( bool  Class3 = true)
inline

Definition at line 112 of file neon/DAVTypes.hxx.

Referenced by webdav_ucp::NeonSession::OPTIONS().

void webdav_ucp::DAVOptions::setHeadAllowed ( bool  HeadAllowed = true)
inline

Definition at line 115 of file neon/DAVTypes.hxx.

Referenced by webdav_ucp::Content::isResourceAvailable().

void webdav_ucp::DAVOptions::setHttpResponseStatusCode ( const sal_uInt16  nHttpResponseStatusCode)
inline
void webdav_ucp::DAVOptions::setHttpResponseStatusText ( const OUString &  rHttpResponseStatusText)
inline
void webdav_ucp::DAVOptions::setLocked ( bool  locked = true)
inline

Definition at line 133 of file neon/DAVTypes.hxx.

Referenced by webdav_ucp::NeonSession::OPTIONS().

void webdav_ucp::DAVOptions::setRedirectedURL ( const OUString &  sRedirectedURL)
inline
void webdav_ucp::DAVOptions::setRequestedTimeLife ( const sal_uInt32  nRequestedTimeLife)
inline

Definition at line 121 of file neon/DAVTypes.hxx.

void webdav_ucp::DAVOptions::setStaleTime ( const sal_uInt32  nStaleTime)
inline

Definition at line 118 of file neon/DAVTypes.hxx.

Referenced by webdav_ucp::DAVOptionsCache::addDAVOptions().

void webdav_ucp::DAVOptions::setURL ( const OUString &  sURL)
inline

Member Data Documentation

OUString webdav_ucp::DAVOptions::m_aAllowedMethods
private

contains the methods allowed on this resource

Definition at line 85 of file neon/DAVTypes.hxx.

Referenced by getAllowedMethods(), operator=(), and operator==().

bool webdav_ucp::DAVOptions::m_isClass1
private

Definition at line 77 of file neon/DAVTypes.hxx.

Referenced by isClass1(), operator=(), and operator==().

bool webdav_ucp::DAVOptions::m_isClass2
private

Definition at line 78 of file neon/DAVTypes.hxx.

Referenced by isClass2(), operator=(), and operator==().

bool webdav_ucp::DAVOptions::m_isClass3
private

Definition at line 79 of file neon/DAVTypes.hxx.

Referenced by isClass3(), operator=(), and operator==().

bool webdav_ucp::DAVOptions::m_isHeadAllowed
private

for server that do not implement it

Definition at line 81 of file neon/DAVTypes.hxx.

Referenced by isHeadAllowed(), operator=(), and operator==().

bool webdav_ucp::DAVOptions::m_isLocked
private

Internally used to maintain the locked state of the resource, only if it's a Class 2 resource.

Definition at line 83 of file neon/DAVTypes.hxx.

Referenced by isLocked(), operator=(), and operator==().

sal_uInt16 webdav_ucp::DAVOptions::m_nHttpResponseStatusCode
private

The cached HTT response status code. It's 0 if the code was dealt with and there is no need to cache it.

Definition at line 94 of file neon/DAVTypes.hxx.

Referenced by getHttpResponseStatusCode(), operator=(), and operator==().

sal_uInt32 webdav_ucp::DAVOptions::m_nRequestedTimeLife
private

Definition at line 89 of file neon/DAVTypes.hxx.

Referenced by getRequestedTimeLife(), operator=(), and operator==().

sal_uInt32 webdav_ucp::DAVOptions::m_nStaleTime
private

target time when this capability becomes stale

Definition at line 88 of file neon/DAVTypes.hxx.

Referenced by getStaleTime(), operator=(), and operator==().

OUString webdav_ucp::DAVOptions::m_sHttpResponseStatusText
private

The cached string with the server returned HTTP response status code string, corresponds to m_nHttpResponseStatusCode.

Definition at line 96 of file neon/DAVTypes.hxx.

Referenced by getHttpResponseStatusText(), operator=(), and operator==().

OUString webdav_ucp::DAVOptions::m_sRedirectedURL
private

Definition at line 91 of file neon/DAVTypes.hxx.

Referenced by getRedirectedURL(), operator=(), and operator==().

OUString webdav_ucp::DAVOptions::m_sURL
private

Definition at line 90 of file neon/DAVTypes.hxx.

Referenced by getURL(), operator=(), and operator==().


The documentation for this class was generated from the following files: