LibreOffice Module ucb (master) 1
Static Public Member Functions | List of all members
http_dav_ucp::CurlProcessor Struct Reference

this is just a bunch of static member functions called from CurlSession More...

Static Public Member Functions

static auto URIReferenceToURI (CurlSession &rSession, std::u16string_view rURIReference) -> CurlUri
 
static auto ProcessRequestImpl (CurlSession &rSession, CurlUri const &rURI, OUString const &rMethod, curl_slist *pRequestHeaderList, uno::Reference< io::XOutputStream > const *pxOutStream, uno::Sequence< sal_Int8 > const *pInData, ::std::pair<::std::vector< OUString > const &, DAVResource & > const *pRequestedHeaders, ResponseHeaders &rHeaders) -> void
 main function to initiate libcurl requests More...
 
static auto ProcessRequest (CurlSession &rSession, CurlUri const &rURI, OUString const &rMethod, ::std::vector< CurlOption > const &rOptions, DAVRequestEnvironment const *pEnv, ::std::unique_ptr< curl_slist, deleter_from_fn< curl_slist, curl_slist_free_all > > pRequestHeaderList, uno::Reference< io::XOutputStream > const *pxOutStream, uno::Reference< io::XInputStream > const *pxInStream, ::std::pair<::std::vector< OUString > const &, DAVResource & > const *pRequestedHeaders) -> void
 
static auto PropFind (CurlSession &rSession, CurlUri const &rURI, Depth depth, ::std::tuple<::std::vector< OUString > const &, ::std::vector< DAVResource > *const, ::std::vector< ucb::Lock > *const > const *o_pRequestedProperties, ::std::vector< DAVResourceInfo > *const o_pResourceInfos, DAVRequestEnvironment const &rEnv) -> void
 
static auto MoveOrCopy (CurlSession &rSession, std::u16string_view rSourceURIReference, ::std::u16string_view rDestinationURI, DAVRequestEnvironment const &rEnv, bool isOverwrite, char const *pMethod) -> void
 
static auto Lock (CurlSession &rSession, CurlUri const &rURI, DAVRequestEnvironment const *pEnv, ::std::unique_ptr< curl_slist, deleter_from_fn< curl_slist, curl_slist_free_all > > pRequestHeaderList, uno::Reference< io::XInputStream > const *pxInStream) -> ::std::vector<::std::pair< ucb::Lock, sal_Int32 > >
 
static auto Unlock (CurlSession &rSession, CurlUri const &rURI, DAVRequestEnvironment const *pEnv) -> void
 

Detailed Description

this is just a bunch of static member functions called from CurlSession

Definition at line 770 of file CurlSession.cxx.

Member Function Documentation

◆ Lock()

auto http_dav_ucp::CurlProcessor::Lock ( CurlSession rSession,
CurlUri const &  rURI,
DAVRequestEnvironment const *  pEnv,
::std::unique_ptr< curl_slist, deleter_from_fn< curl_slist, curl_slist_free_all > >  pRequestHeaderList,
uno::Reference< io::XInputStream > const *  pxInStream 
) -> ::std::vector<::std::pair<ucb::Lock, sal_Int32>>
static

Definition at line 2152 of file CurlSession.cxx.

References http_dav_ucp::parseWebDAVLockResponse(), SAL_WARN, and SAL_WARN_IF.

◆ MoveOrCopy()

auto http_dav_ucp::CurlProcessor::MoveOrCopy ( CurlSession rSession,
std::u16string_view  rSourceURIReference,
::std::u16string_view  rDestinationURI,
DAVRequestEnvironment const &  rEnv,
bool  isOverwrite,
char const *  pMethod 
) -> void
static

Definition at line 2090 of file CurlSession.cxx.

References OUStringToOString().

◆ ProcessRequest()

auto http_dav_ucp::CurlProcessor::ProcessRequest ( CurlSession rSession,
CurlUri const &  rURI,
OUString const &  rMethod,
::std::vector< CurlOption > const &  rOptions,
DAVRequestEnvironment const *  pEnv,
::std::unique_ptr< curl_slist, deleter_from_fn< curl_slist, curl_slist_free_all > >  pRequestHeaderList,
uno::Reference< io::XOutputStream > const *  pxOutStream,
uno::Reference< io::XInputStream > const *  pxInStream,
::std::pair<::std::vector< OUString > const &, DAVResource & > const *  pRequestedHeaders 
) -> void
static

◆ ProcessRequestImpl()

auto http_dav_ucp::CurlProcessor::ProcessRequestImpl ( CurlSession rSession,
CurlUri const &  rURI,
OUString const &  rMethod,
curl_slist *  pRequestHeaderList,
uno::Reference< io::XOutputStream > const *  pxOutStream,
uno::Sequence< sal_Int8 > const *  pInData,
::std::pair<::std::vector< OUString > const &, DAVResource & > const *  pRequestedHeaders,
ResponseHeaders &  rHeaders 
) -> void
static

◆ PropFind()

auto http_dav_ucp::CurlProcessor::PropFind ( CurlSession rSession,
CurlUri const &  rURI,
Depth  depth,
::std::tuple<::std::vector< OUString > const &, ::std::vector< DAVResource > *const, ::std::vector< ucb::Lock > *const > const *  o_pRequestedProperties,
::std::vector< DAVResourceInfo > *const  o_pResourceInfos,
DAVRequestEnvironment const &  rEnv 
) -> void
static

◆ Unlock()

auto http_dav_ucp::CurlProcessor::Unlock ( CurlSession rSession,
CurlUri const &  rURI,
DAVRequestEnvironment const *  pEnv 
) -> void
static

Definition at line 2340 of file CurlSession.cxx.

References OUStringToOString(), and SAL_WARN.

◆ URIReferenceToURI()

auto http_dav_ucp::CurlProcessor::URIReferenceToURI ( CurlSession rSession,
std::u16string_view  rURIReference 
) -> CurlUri
static

Definition at line 812 of file CurlSession.cxx.

References o3tl::starts_with(), and u.


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