LibreOffice Module ucb (master) 1
|
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 |
this is just a bunch of static member functions called from CurlSession
Definition at line 770 of file CurlSession.cxx.
|
static |
Definition at line 2152 of file CurlSession.cxx.
References http_dav_ucp::parseWebDAVLockResponse(), SAL_WARN, and SAL_WARN_IF.
|
static |
Definition at line 2090 of file CurlSession.cxx.
References OUStringToOString().
|
static |
< allowed auth methods
Definition at line 1131 of file CurlSession.cxx.
References o3tl::checked_add(), http_dav_ucp::ConnectionEndPointString(), http_dav_ucp::ExtractRealm(), http_dav_ucp::DAVException::getError(), http_dav_ucp::CurlUri::GetPassword(), http_dav_ucp::DAVException::getStatus(), http_dav_ucp::CurlUri::GetUser(), i, OUStringToOString(), SAL_INFO, SAL_WARN, http_dav_ucp::SC_BAD_REQUEST, http_dav_ucp::SC_LOCKED, http_dav_ucp::SC_PRECONDITION_FAILED, http_dav_ucp::SC_PROXY_AUTHENTICATION_REQUIRED, http_dav_ucp::SC_UNAUTHORIZED, and http_dav_ucp::TryRemoveExpiredLockToken().
|
static |
main function to initiate libcurl requests
Definition at line 831 of file CurlSession.cxx.
References http_dav_ucp::ConnectionEndPointString(), http_dav_ucp::DAVException::DAV_HTTP_AUTH, http_dav_ucp::DAVException::DAV_HTTP_CONNECT, http_dav_ucp::DAVException::DAV_HTTP_ERROR, http_dav_ucp::DAVException::DAV_HTTP_FAILED, http_dav_ucp::DAVException::DAV_HTTP_LOOKUP, http_dav_ucp::DAVException::DAV_HTTP_REDIRECT, http_dav_ucp::DAVException::DAV_HTTP_TIMEOUT, http_dav_ucp::DAVException::DAV_SESSION_CREATE, http_dav_ucp::DAVException::DAV_UNSUPPORTED, http_dav_ucp::ExtractRequestedHeaders(), SAL_INFO, SAL_WARN, http_dav_ucp::SC_MOVED_PERMANENTLY, http_dav_ucp::SC_MOVED_TEMPORARILY, http_dav_ucp::SC_NONE, http_dav_ucp::SC_REQUEST_TIMEOUT, http_dav_ucp::SC_SEE_OTHER, and http_dav_ucp::SC_TEMPORARY_REDIRECT.
|
static |
Definition at line 1587 of file CurlSession.cxx.
References http_dav_ucp::DAVINFINITY, http_dav_ucp::DAVONE, http_dav_ucp::DAVZERO, name, http_dav_ucp::parseWebDAVLockResponse(), http_dav_ucp::parseWebDAVPropFindResponse(), http_dav_ucp::parseWebDAVPropNameResponse(), and SAL_INFO.
Referenced by http_dav_ucp::TryRemoveExpiredLockToken().
|
static |
Definition at line 2340 of file CurlSession.cxx.
References OUStringToOString(), and SAL_WARN.
|
static |
Definition at line 812 of file CurlSession.cxx.
References o3tl::starts_with(), and u.