LibreOffice Module ucb (master) 1
|
#include <CurlUri.hxx>
Public Member Functions | |
CurlUri (CurlUri const &rUri) | |
CurlUri (CURLU &rUrl) | |
void | operator= (CurlUri const &rOther) |
CurlUri (::std::u16string_view rURI) | |
bool | operator== (CurlUri const &rOther) const |
CURLU const * | GetCURLU () const |
OUString const & | GetURI () const |
OUString const & | GetScheme () const |
OUString const & | GetUser () const |
OUString const & | GetPassword () const |
OUString const & | GetHost () const |
sal_uInt16 | GetPort () const |
OUString const & | GetPath () const |
OUString | GetRelativeReference () const |
OUString | GetPathBaseName () const |
OUString | GetPathBaseNameUnescaped () const |
void | SetScheme (::std::u16string_view rScheme) |
void | AppendPath (::std::u16string_view rPath) |
CurlUri | CloneWithRelativeRefPathAbsolute (std::u16string_view rRelativeRef) const |
Private Member Functions | |
void | Init () |
Private Attributes | |
::std::unique_ptr< CURLU, deleter_from_fn< CURLU, curl_url_cleanup > > | m_pUrl |
native curl representation of parsed URI More... | |
OUString | m_URI |
duplicate state for quick access to some components More... | |
OUString | m_Scheme |
OUString | m_User |
OUString | m_Password |
OUString | m_Host |
sal_uInt16 | m_nPort = 0 |
OUString | m_Path |
OUString | m_QueryAndFragment |
Definition at line 38 of file CurlUri.hxx.
http_dav_ucp::CurlUri::CurlUri | ( | CurlUri const & | rUri | ) |
Definition at line 144 of file CurlUri.cxx.
Referenced by CloneWithRelativeRefPathAbsolute().
http_dav_ucp::CurlUri::CurlUri | ( | CURLU & | rUrl | ) |
Definition at line 133 of file CurlUri.cxx.
|
explicit |
DAVException |
Definition at line 105 of file CurlUri.cxx.
References http_dav_ucp::DAVException::DAV_INVALID_ARG, Init(), m_pUrl, OUStringToOString(), SAL_WARN, and u.
void http_dav_ucp::CurlUri::AppendPath | ( | ::std::u16string_view | rPath | ) |
DAVException |
Definition at line 220 of file CurlUri.cxx.
References http_dav_ucp::DAVException::DAV_INVALID_ARG, http_dav_ucp::GetURLComponent(), m_Path, m_pUrl, m_URI, OUStringToOString(), and SAL_WARN.
CurlUri http_dav_ucp::CurlUri::CloneWithRelativeRefPathAbsolute | ( | std::u16string_view | rRelativeRef | ) | const |
matches | relative-ref = path-absolute [ "?" query ] [ "#" fragment ] |
DAVException |
Definition at line 243 of file CurlUri.cxx.
References CurlUri(), http_dav_ucp::DAVException::DAV_INVALID_ARG, fragment, m_pUrl, OUStringToOString(), query(), and SAL_WARN.
|
inline |
Definition at line 65 of file CurlUri.hxx.
References m_pUrl.
|
inline |
Definition at line 70 of file CurlUri.hxx.
References m_Host.
Referenced by http_dav_ucp::CurlSession::CanUse(), http_dav_ucp::CurlSession::CurlSession(), and http_dav_ucp::DAVResourceAccess::initialize().
|
inline |
Definition at line 69 of file CurlUri.hxx.
References m_Password.
Referenced by http_dav_ucp::CurlProcessor::ProcessRequest().
|
inline |
Definition at line 72 of file CurlUri.hxx.
References m_Path.
Referenced by http_dav_ucp::DataSupplier::getData().
OUString http_dav_ucp::CurlUri::GetPathBaseName | ( | ) | const |
Definition at line 182 of file CurlUri.cxx.
Referenced by http_dav_ucp::ContentProperties::ContentProperties(), and GetPathBaseNameUnescaped().
OUString http_dav_ucp::CurlUri::GetPathBaseNameUnescaped | ( | ) | const |
Definition at line 199 of file CurlUri.cxx.
References http_dav_ucp::DecodeURI(), and GetPathBaseName().
Referenced by http_dav_ucp::ContentProperties::ContentProperties().
|
inline |
Definition at line 71 of file CurlUri.hxx.
References m_nPort.
Referenced by http_dav_ucp::CurlSession::CanUse(), and http_dav_ucp::CurlSession::CurlSession().
|
inline |
Definition at line 73 of file CurlUri.hxx.
References m_Path, and m_QueryAndFragment.
Referenced by http_dav_ucp::DAVResourceAccess::initialize().
|
inline |
Definition at line 67 of file CurlUri.hxx.
References m_Scheme.
Referenced by http_dav_ucp::CurlSession::CanUse(), and http_dav_ucp::CurlSession::CurlSession().
|
inline |
Definition at line 66 of file CurlUri.hxx.
References m_URI.
Referenced by http_dav_ucp::DAVResourceAccess::initialize(), http_dav_ucp::CurlSession::LOCK(), http_dav_ucp::CurlSession::OPTIONS(), http_dav_ucp::CurlSession::PUT(), http_dav_ucp::DAVResourceAccess::resetUri(), and http_dav_ucp::CurlSession::UNLOCK().
|
inline |
Definition at line 68 of file CurlUri.hxx.
References m_User.
Referenced by http_dav_ucp::CurlProcessor::ProcessRequest().
|
private |
Definition at line 53 of file CurlUri.cxx.
References http_dav_ucp::GetURLComponent(), m_Host, m_nPort, m_Password, m_Path, m_pUrl, m_QueryAndFragment, m_Scheme, m_URI, and m_User.
Referenced by CurlUri().
void http_dav_ucp::CurlUri::operator= | ( | CurlUri const & | rOther | ) |
Definition at line 162 of file CurlUri.cxx.
References m_Host, m_nPort, m_Password, m_Path, m_pUrl, m_QueryAndFragment, m_Scheme, m_URI, and m_User.
bool http_dav_ucp::CurlUri::operator== | ( | CurlUri const & | rOther | ) | const |
Definition at line 180 of file CurlUri.cxx.
References m_URI.
void http_dav_ucp::CurlUri::SetScheme | ( | ::std::u16string_view | rScheme | ) |
DAVException |
Definition at line 201 of file CurlUri.cxx.
References http_dav_ucp::DAVException::DAV_INVALID_ARG, http_dav_ucp::GetURLComponent(), m_pUrl, m_Scheme, m_URI, OUStringToOString(), and SAL_WARN.
|
private |
Definition at line 48 of file CurlUri.hxx.
Referenced by GetHost(), Init(), and operator=().
|
private |
Definition at line 49 of file CurlUri.hxx.
Referenced by GetPort(), Init(), and operator=().
|
private |
Definition at line 47 of file CurlUri.hxx.
Referenced by GetPassword(), Init(), and operator=().
|
private |
Definition at line 50 of file CurlUri.hxx.
Referenced by AppendPath(), GetPath(), GetPathBaseName(), GetRelativeReference(), Init(), and operator=().
|
private |
native curl representation of parsed URI
Definition at line 42 of file CurlUri.hxx.
Referenced by AppendPath(), CloneWithRelativeRefPathAbsolute(), CurlUri(), GetCURLU(), Init(), operator=(), and SetScheme().
|
private |
Definition at line 51 of file CurlUri.hxx.
Referenced by GetRelativeReference(), Init(), and operator=().
|
private |
Definition at line 45 of file CurlUri.hxx.
Referenced by GetScheme(), Init(), operator=(), and SetScheme().
|
private |
duplicate state for quick access to some components
Definition at line 44 of file CurlUri.hxx.
Referenced by AppendPath(), GetURI(), Init(), operator=(), operator==(), and SetScheme().
|
private |
Definition at line 46 of file CurlUri.hxx.
Referenced by GetUser(), Init(), and operator=().