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

#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 65 of file DAVTypes.hxx.

Constructor & Destructor Documentation

◆ DAVOptions() [1/2]

DAVOptions::DAVOptions ( )

Definition at line 24 of file DAVTypes.cxx.

References m_sURL.

◆ DAVOptions() [2/2]

DAVOptions::DAVOptions ( const DAVOptions rOther)

Definition at line 40 of file DAVTypes.cxx.

References m_sURL.

◆ ~DAVOptions()

DAVOptions::~DAVOptions ( )

Definition at line 56 of file DAVTypes.cxx.

Member Function Documentation

◆ getAllowedMethods()

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

Definition at line 121 of file DAVTypes.hxx.

References m_aAllowedMethods.

◆ getHttpResponseStatusCode()

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

Definition at line 127 of file DAVTypes.hxx.

References m_nHttpResponseStatusCode.

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

◆ getHttpResponseStatusText()

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

Definition at line 130 of file DAVTypes.hxx.

References m_sHttpResponseStatusText.

◆ getRedirectedURL()

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

Definition at line 117 of file DAVTypes.hxx.

References m_sRedirectedURL.

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

◆ getRequestedTimeLife()

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

Definition at line 111 of file DAVTypes.hxx.

References m_nRequestedTimeLife.

◆ getStaleTime()

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

Definition at line 108 of file DAVTypes.hxx.

References m_nStaleTime.

◆ getURL()

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

Definition at line 114 of file DAVTypes.hxx.

References m_sURL.

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

◆ init()

void http_dav_ucp::DAVOptions::init ( )
inline

◆ isClass1()

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

Definition at line 96 of file DAVTypes.hxx.

References m_isClass1.

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

◆ isClass2()

bool http_dav_ucp::DAVOptions::isClass2 ( ) const
inline

Definition at line 99 of file DAVTypes.hxx.

References m_isClass2.

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

◆ isClass3()

bool http_dav_ucp::DAVOptions::isClass3 ( ) const
inline

Definition at line 102 of file DAVTypes.hxx.

References m_isClass3.

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

◆ isHeadAllowed()

bool http_dav_ucp::DAVOptions::isHeadAllowed ( ) const
inline

Definition at line 105 of file DAVTypes.hxx.

References m_isHeadAllowed.

◆ isLockAllowed()

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

Definition at line 122 of file DAVTypes.hxx.

References m_aAllowedMethods.

◆ isLocked()

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

Definition at line 125 of file DAVTypes.hxx.

References m_isLocked.

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

◆ operator=()

DAVOptions & DAVOptions::operator= ( const DAVOptions rOpts)

◆ operator==()

bool DAVOptions::operator== ( const DAVOptions rOpts) const

◆ setAllowedMethods()

void http_dav_ucp::DAVOptions::setAllowedMethods ( const OUString &  aAllowedMethods)
inline

Definition at line 120 of file DAVTypes.hxx.

References m_aAllowedMethods.

◆ setClass1()

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

Definition at line 97 of file DAVTypes.hxx.

References m_isClass1.

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

◆ setClass2()

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

Definition at line 100 of file DAVTypes.hxx.

References m_isClass2.

◆ setClass3()

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

Definition at line 103 of file DAVTypes.hxx.

References m_isClass3.

◆ setHeadAllowed()

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

Definition at line 106 of file DAVTypes.hxx.

References m_isHeadAllowed.

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

◆ setHttpResponseStatusCode()

void http_dav_ucp::DAVOptions::setHttpResponseStatusCode ( const sal_uInt16  nHttpResponseStatusCode)
inline

◆ setHttpResponseStatusText()

void http_dav_ucp::DAVOptions::setHttpResponseStatusText ( const OUString &  rHttpResponseStatusText)
inline

◆ setLocked()

void http_dav_ucp::DAVOptions::setLocked ( bool  locked = true)
inline

Definition at line 124 of file DAVTypes.hxx.

References m_isLocked.

◆ setRedirectedURL()

void http_dav_ucp::DAVOptions::setRedirectedURL ( const OUString &  sRedirectedURL)
inline

◆ setRequestedTimeLife()

void http_dav_ucp::DAVOptions::setRequestedTimeLife ( const sal_uInt32  nRequestedTimeLife)
inline

Definition at line 112 of file DAVTypes.hxx.

References m_nRequestedTimeLife.

◆ setStaleTime()

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

Definition at line 109 of file DAVTypes.hxx.

References m_nStaleTime.

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

◆ setURL()

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

Member Data Documentation

◆ m_aAllowedMethods

OUString http_dav_ucp::DAVOptions::m_aAllowedMethods
private

contains the methods allowed on this resource

Definition at line 76 of file DAVTypes.hxx.

Referenced by getAllowedMethods(), init(), isLockAllowed(), operator=(), operator==(), and setAllowedMethods().

◆ m_isClass1

bool http_dav_ucp::DAVOptions::m_isClass1
private

Definition at line 68 of file DAVTypes.hxx.

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

◆ m_isClass2

bool http_dav_ucp::DAVOptions::m_isClass2
private

Definition at line 69 of file DAVTypes.hxx.

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

◆ m_isClass3

bool http_dav_ucp::DAVOptions::m_isClass3
private

Definition at line 70 of file DAVTypes.hxx.

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

◆ m_isHeadAllowed

bool http_dav_ucp::DAVOptions::m_isHeadAllowed
private

for server that do not implement it

Definition at line 72 of file DAVTypes.hxx.

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

◆ m_isLocked

bool http_dav_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 74 of file DAVTypes.hxx.

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

◆ m_nHttpResponseStatusCode

sal_uInt16 http_dav_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 85 of file DAVTypes.hxx.

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

◆ m_nRequestedTimeLife

sal_uInt32 http_dav_ucp::DAVOptions::m_nRequestedTimeLife
private

Definition at line 80 of file DAVTypes.hxx.

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

◆ m_nStaleTime

sal_uInt32 http_dav_ucp::DAVOptions::m_nStaleTime
private

target time when this capability becomes stale

Definition at line 79 of file DAVTypes.hxx.

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

◆ m_sHttpResponseStatusText

OUString http_dav_ucp::DAVOptions::m_sHttpResponseStatusText
private

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

Definition at line 87 of file DAVTypes.hxx.

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

◆ m_sRedirectedURL

OUString http_dav_ucp::DAVOptions::m_sRedirectedURL
private

Definition at line 82 of file DAVTypes.hxx.

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

◆ m_sURL

OUString http_dav_ucp::DAVOptions::m_sURL
private

Definition at line 81 of file DAVTypes.hxx.

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


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