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, OUString const &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, OUString const &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 751 of file CurlSession.cxx.
|
static |
Definition at line 2103 of file CurlSession.cxx.
References http_dav_ucp::parseWebDAVLockResponse(), ProcessRequest(), SAL_WARN, and SAL_WARN_IF.
Referenced by http_dav_ucp::CurlSession::LOCK(), and http_dav_ucp::CurlSession::NonInteractive_LOCK().
|
static |
Definition at line 2041 of file CurlSession.cxx.
References OUStringToOString(), ProcessRequest(), and URIReferenceToURI().
Referenced by http_dav_ucp::CurlSession::COPY(), and http_dav_ucp::CurlSession::MOVE().
|
static |
< allowed auth methods
Definition at line 1111 of file CurlSession.cxx.
References o3tl::checked_add(), http_dav_ucp::ConnectionEndPointString(), data, http_dav_ucp::DAVException::DAV_HTTP_ERROR, http_dav_ucp::DAVException::DAV_HTTP_NOAUTH, http_dav_ucp::DAVException::DAV_INVALID_ARG, http_dav_ucp::DAVException::DAV_LOCK_EXPIRED, http_dav_ucp::DAVException::DAV_LOCKED, http_dav_ucp::DAVException::DAV_LOCKED_SELF, 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, http_dav_ucp::TryRemoveExpiredLockToken(), uri, and void().
Referenced by http_dav_ucp::CurlSession::DESTROY(), http_dav_ucp::CurlSession::GET(), http_dav_ucp::CurlSession::HEAD(), Lock(), http_dav_ucp::CurlSession::MKCOL(), MoveOrCopy(), http_dav_ucp::CurlSession::OPTIONS(), PropFind(), http_dav_ucp::CurlSession::PROPPATCH(), http_dav_ucp::CurlSession::PUT(), and Unlock().
|
static |
main function to initiate libcurl requests
Definition at line 810 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::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, http_dav_ucp::SC_TEMPORARY_REDIRECT, o3tl::trim(), and void().
|
static |
Definition at line 1542 of file CurlSession.cxx.
References http_dav_ucp::DAVProperties::createSerfPropName(), http_dav_ucp::DAVINFINITY, http_dav_ucp::DAVONE, http_dav_ucp::DAVZERO, name, http_dav_ucp::SerfPropName::name, http_dav_ucp::SerfPropName::nspace, http_dav_ucp::parseWebDAVLockResponse(), http_dav_ucp::parseWebDAVPropFindResponse(), http_dav_ucp::parseWebDAVPropNameResponse(), ProcessRequest(), and SAL_INFO.
Referenced by http_dav_ucp::CurlSession::PROPFIND(), and http_dav_ucp::TryRemoveExpiredLockToken().
|
static |
Definition at line 2290 of file CurlSession.cxx.
References http_dav_ucp::DAVException::DAV_NOT_LOCKED, OUStringToOString(), ProcessRequest(), and SAL_WARN.
Referenced by http_dav_ucp::CurlSession::NonInteractive_UNLOCK(), and http_dav_ucp::CurlSession::UNLOCK().
|
static |
Definition at line 792 of file CurlSession.cxx.
Referenced by http_dav_ucp::CurlSession::DESTROY(), http_dav_ucp::CurlSession::GET(), http_dav_ucp::CurlSession::HEAD(), http_dav_ucp::CurlSession::LOCK(), http_dav_ucp::CurlSession::MKCOL(), MoveOrCopy(), http_dav_ucp::CurlSession::OPTIONS(), http_dav_ucp::CurlSession::PROPFIND(), http_dav_ucp::CurlSession::PROPPATCH(), http_dav_ucp::CurlSession::PUT(), and http_dav_ucp::CurlSession::UNLOCK().