LibreOffice Module ucb (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
http_dav_ucp::DAVSession Class Referenceabstract

#include <DAVSession.hxx>

Inheritance diagram for http_dav_ucp::DAVSession:
[legend]
Collaboration diagram for http_dav_ucp::DAVSession:
[legend]

Public Member Functions

void acquire ()
 
void release ()
 
virtual bool CanUse (const OUString &rURI, const ::com::sun::star::uno::Sequence<::com::sun::star::beans::NamedValue > &rFlags)=0
 
virtual bool UsesProxy ()=0
 
virtual void OPTIONS (const OUString &inPath, DAVOptions &rOptions, const DAVRequestEnvironment &rEnv)=0
 
virtual void PROPFIND (const OUString &inPath, const Depth inDepth, const std::vector< OUString > &inPropertyNames, std::vector< DAVResource > &ioResources, const DAVRequestEnvironment &rEnv)=0
 
virtual void PROPFIND (const OUString &inPath, const Depth inDepth, std::vector< DAVResourceInfo > &ioResInfo, const DAVRequestEnvironment &rEnv)=0
 
virtual void PROPPATCH (const OUString &inPath, const std::vector< ProppatchValue > &inValues, const DAVRequestEnvironment &rEnv)=0
 
virtual void HEAD (const OUString &inPath, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource, const DAVRequestEnvironment &rEnv)=0
 
virtual css::uno::Reference< css::io::XInputStream > GET (const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
 
virtual void GET (const OUString &inPath, css::uno::Reference< css::io::XOutputStream > &o, const DAVRequestEnvironment &rEnv)=0
 
virtual css::uno::Reference< css::io::XInputStream > GET (const OUString &inPath, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource, const DAVRequestEnvironment &rEnv)=0
 
virtual void GET (const OUString &inPath, css::uno::Reference< css::io::XOutputStream > &o, const std::vector< OUString > &inHeaderNames, DAVResource &ioResource, const DAVRequestEnvironment &rEnv)=0
 
virtual void PUT (const OUString &inPath, const css::uno::Reference< css::io::XInputStream > &s, const DAVRequestEnvironment &rEnv)=0
 
virtual css::uno::Reference< css::io::XInputStream > POST (const OUString &inPath, const OUString &rContentType, const OUString &rReferer, const css::uno::Reference< css::io::XInputStream > &inInputStream, const DAVRequestEnvironment &rEnv)=0
 
virtual void POST (const OUString &inPath, const OUString &rContentType, const OUString &rReferer, const css::uno::Reference< css::io::XInputStream > &inInputStream, css::uno::Reference< css::io::XOutputStream > &oOutputStream, const DAVRequestEnvironment &rEnv)=0
 
virtual void MKCOL (const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
 
virtual void COPY (const OUString &inSource, const OUString &inDestination, const DAVRequestEnvironment &rEnv, bool inOverwrite=false)=0
 
virtual void MOVE (const OUString &inSource, const OUString &inDestination, const DAVRequestEnvironment &rEnv, bool inOverwrite=false)=0
 
virtual void DESTROY (const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
 
virtual void LOCK (const OUString &inPath, css::ucb::Lock &inLock, const DAVRequestEnvironment &rEnv)=0
 
virtual void UNLOCK (const OUString &inPath, const DAVRequestEnvironment &rEnv)=0
 
virtual void abort ()=0
 

Protected Member Functions

 DAVSession (rtl::Reference< DAVSessionFactory > xFactory)
 
virtual ~DAVSession ()
 

Private Attributes

rtl::Reference< DAVSessionFactorym_xFactory
 
DAVSessionFactory::Map::iterator m_aContainerIt
 
oslInterlockedCount m_nRefCount
 

Friends

class DAVSessionFactory
 
struct std::default_delete< DAVSession >
 

Detailed Description

Definition at line 46 of file DAVSession.hxx.

Constructor & Destructor Documentation

◆ DAVSession()

http_dav_ucp::DAVSession::DAVSession ( rtl::Reference< DAVSessionFactory xFactory)
inlineexplicitprotected

Definition at line 180 of file DAVSession.hxx.

References xFactory.

◆ ~DAVSession()

virtual http_dav_ucp::DAVSession::~DAVSession ( )
inlineprotectedvirtual

Definition at line 183 of file DAVSession.hxx.

Member Function Documentation

◆ abort()

virtual void http_dav_ucp::DAVSession::abort ( )
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ acquire()

void http_dav_ucp::DAVSession::acquire ( )
inline

Definition at line 49 of file DAVSession.hxx.

References m_nRefCount.

◆ CanUse()

virtual bool http_dav_ucp::DAVSession::CanUse ( const OUString &  rURI,
const ::com::sun::star::uno::Sequence<::com::sun::star::beans::NamedValue > &  rFlags 
)
pure virtual

◆ COPY()

virtual void http_dav_ucp::DAVSession::COPY ( const OUString &  inSource,
const OUString &  inDestination,
const DAVRequestEnvironment rEnv,
bool  inOverwrite = false 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ DESTROY()

virtual void http_dav_ucp::DAVSession::DESTROY ( const OUString &  inPath,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ GET() [1/4]

virtual css::uno::Reference< css::io::XInputStream > http_dav_ucp::DAVSession::GET ( const OUString &  inPath,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ GET() [2/4]

virtual css::uno::Reference< css::io::XInputStream > http_dav_ucp::DAVSession::GET ( const OUString &  inPath,
const std::vector< OUString > &  inHeaderNames,
DAVResource ioResource,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

◆ GET() [3/4]

virtual void http_dav_ucp::DAVSession::GET ( const OUString &  inPath,
css::uno::Reference< css::io::XOutputStream > &  o,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ GET() [4/4]

virtual void http_dav_ucp::DAVSession::GET ( const OUString &  inPath,
css::uno::Reference< css::io::XOutputStream > &  o,
const std::vector< OUString > &  inHeaderNames,
DAVResource ioResource,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

◆ HEAD()

virtual void http_dav_ucp::DAVSession::HEAD ( const OUString &  inPath,
const std::vector< OUString > &  inHeaderNames,
DAVResource ioResource,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

◆ LOCK()

virtual void http_dav_ucp::DAVSession::LOCK ( const OUString &  inPath,
css::ucb::Lock &  inLock,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ MKCOL()

virtual void http_dav_ucp::DAVSession::MKCOL ( const OUString &  inPath,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ MOVE()

virtual void http_dav_ucp::DAVSession::MOVE ( const OUString &  inSource,
const OUString &  inDestination,
const DAVRequestEnvironment rEnv,
bool  inOverwrite = false 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ OPTIONS()

virtual void http_dav_ucp::DAVSession::OPTIONS ( const OUString &  inPath,
DAVOptions rOptions,
const DAVRequestEnvironment rEnv 
)
pure virtual

Implemented in http_dav_ucp::CurlSession.

◆ POST() [1/2]

virtual css::uno::Reference< css::io::XInputStream > http_dav_ucp::DAVSession::POST ( const OUString &  inPath,
const OUString &  rContentType,
const OUString &  rReferer,
const css::uno::Reference< css::io::XInputStream > &  inInputStream,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ POST() [2/2]

virtual void http_dav_ucp::DAVSession::POST ( const OUString &  inPath,
const OUString &  rContentType,
const OUString &  rReferer,
const css::uno::Reference< css::io::XInputStream > &  inInputStream,
css::uno::Reference< css::io::XOutputStream > &  oOutputStream,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ PROPFIND() [1/2]

virtual void http_dav_ucp::DAVSession::PROPFIND ( const OUString &  inPath,
const Depth  inDepth,
const std::vector< OUString > &  inPropertyNames,
std::vector< DAVResource > &  ioResources,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

◆ PROPFIND() [2/2]

virtual void http_dav_ucp::DAVSession::PROPFIND ( const OUString &  inPath,
const Depth  inDepth,
std::vector< DAVResourceInfo > &  ioResInfo,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

◆ PROPPATCH()

virtual void http_dav_ucp::DAVSession::PROPPATCH ( const OUString &  inPath,
const std::vector< ProppatchValue > &  inValues,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

◆ PUT()

virtual void http_dav_ucp::DAVSession::PUT ( const OUString &  inPath,
const css::uno::Reference< css::io::XInputStream > &  s,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ release()

void http_dav_ucp::DAVSession::release ( )
inline

Definition at line 54 of file DAVSession.hxx.

References m_nRefCount, and m_xFactory.

◆ UNLOCK()

virtual void http_dav_ucp::DAVSession::UNLOCK ( const OUString &  inPath,
const DAVRequestEnvironment rEnv 
)
pure virtual
Exceptions
DAVException

Implemented in http_dav_ucp::CurlSession.

◆ UsesProxy()

virtual bool http_dav_ucp::DAVSession::UsesProxy ( )
pure virtual

Implemented in http_dav_ucp::CurlSession.

Friends And Related Function Documentation

◆ DAVSessionFactory

friend class DAVSessionFactory
friend

Definition at line 190 of file DAVSession.hxx.

◆ std::default_delete< DAVSession >

friend struct std::default_delete< DAVSession >
friend

Definition at line 190 of file DAVSession.hxx.

Member Data Documentation

◆ m_aContainerIt

DAVSessionFactory::Map::iterator http_dav_ucp::DAVSession::m_aContainerIt
private

Definition at line 187 of file DAVSession.hxx.

Referenced by http_dav_ucp::DAVSessionFactory::releaseElement().

◆ m_nRefCount

oslInterlockedCount http_dav_ucp::DAVSession::m_nRefCount
private

Definition at line 188 of file DAVSession.hxx.

Referenced by acquire(), and release().

◆ m_xFactory

rtl::Reference< DAVSessionFactory > http_dav_ucp::DAVSession::m_xFactory
private

Definition at line 186 of file DAVSession.hxx.

Referenced by release().


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