LibreOffice Module ucb (master)
1
|
#include <NeonUri.hxx>
Public Member Functions | |
NeonUri (const OUString &inUri) | |
NeonUri (const ne_uri *inUri) | |
bool | operator== (const NeonUri &rOther) const |
bool | operator!= (const NeonUri &rOther) const |
const OUString & | GetURI () const |
const OUString & | GetScheme () const |
const OUString & | GetUserInfo () const |
const OUString & | GetHost () const |
sal_Int32 | GetPort () const |
const OUString & | GetPath () const |
OUString | GetPathBaseName () const |
OUString | GetPathBaseNameUnescaped () const |
void | SetScheme (const OUString &scheme) |
void | AppendPath (std::u16string_view rPath) |
Static Public Member Functions | |
static OUString | escapeSegment (const OUString &segment) |
static OUString | unescape (const OUString &string) |
static OUString | makeConnectionEndPointString (const OUString &rHostName, int nPort) |
Private Member Functions | |
void | init (const OString &rUri, const ne_uri *pUri) |
void | calculateURI () |
Private Attributes | |
OUString | mURI |
OUString | mScheme |
OUString | mUserInfo |
OUString | mHostName |
sal_Int32 | mPort |
OUString | mPath |
Definition at line 48 of file NeonUri.hxx.
|
explicit |
DAVException |
Definition at line 90 of file NeonUri.cxx.
References calculateURI(), webdav_ucp::DAVException::DAV_INVALID_ARG, ucb_impl::urihelper::encodeURI(), and init().
|
explicit |
DAVException |
Definition at line 74 of file NeonUri.cxx.
References calculateURI(), webdav_ucp::DAVException::DAV_INVALID_ARG, init(), and uri.
void NeonUri::AppendPath | ( | std::u16string_view | rPath | ) |
Definition at line 238 of file NeonUri.cxx.
References calculateURI(), and mPath.
|
private |
Definition at line 149 of file NeonUri.cxx.
References aBuf, DEFAULT_FTP_PORT, DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT, mHostName, mPath, mPort, mScheme, mURI, and mUserInfo.
Referenced by AppendPath(), NeonUri(), and SetScheme().
|
static |
Definition at line 248 of file NeonUri.cxx.
|
inline |
Definition at line 77 of file NeonUri.hxx.
References mHostName.
Referenced by webdav_ucp::NeonSession::CanUse(), webdav_ucp::DAVResourceAccess::initialize(), and webdav_ucp::NeonSession::NeonSession().
|
inline |
Definition at line 81 of file NeonUri.hxx.
References mPath.
Referenced by webdav_ucp::NeonSession::COPY(), webdav_ucp::DataSupplier::getData(), webdav_ucp::DAVResourceAccess::initialize(), and webdav_ucp::NeonSession::MOVE().
OUString NeonUri::GetPathBaseName | ( | ) | const |
Definition at line 199 of file NeonUri.cxx.
Referenced by webdav_ucp::ContentProperties::ContentProperties(), and GetPathBaseNameUnescaped().
OUString NeonUri::GetPathBaseNameUnescaped | ( | ) | const |
Definition at line 233 of file NeonUri.cxx.
References GetPathBaseName(), and unescape().
Referenced by webdav_ucp::ContentProperties::ContentProperties().
|
inline |
Definition at line 79 of file NeonUri.hxx.
References mPort.
Referenced by webdav_ucp::NeonSession::CanUse(), and webdav_ucp::NeonSession::NeonSession().
|
inline |
Definition at line 73 of file NeonUri.hxx.
References mScheme.
Referenced by webdav_ucp::NeonSession::CanUse(), and webdav_ucp::NeonSession::NeonSession().
|
inline |
Definition at line 71 of file NeonUri.hxx.
References mURI.
Referenced by webdav_ucp::NeonSession::HandleError(), webdav_ucp::DAVResourceAccess::initialize(), webdav_ucp::NeonSession::makeAbsoluteURL(), and webdav_ucp::DAVResourceAccess::resetUri().
|
inline |
Definition at line 75 of file NeonUri.hxx.
References mUserInfo.
Referenced by webdav_ucp::NeonSession::NeonAuth().
|
private |
|
static |
Definition at line 265 of file NeonUri.cxx.
References aBuf, DEFAULT_HTTP_PORT, and DEFAULT_HTTPS_PORT.
Referenced by webdav_ucp::NeonSession::HandleError(), and webdav_ucp::NeonSession::Init().
|
inline |
Definition at line 68 of file NeonUri.hxx.
References operator==().
bool NeonUri::operator== | ( | const NeonUri & | rOther | ) | const |
|
inline |
Definition at line 88 of file NeonUri.hxx.
References calculateURI().
|
static |
Definition at line 257 of file NeonUri.cxx.
Referenced by webdav_ucp::DAVOptionsCache::addDAVOptions(), webdav_ucp::DataSupplier::getData(), webdav_ucp::DAVOptionsCache::getDAVOptions(), GetPathBaseNameUnescaped(), webdav_ucp::DAVOptionsCache::removeDAVOptions(), and webdav_ucp::DAVOptionsCache::setHeadAllowed().
|
private |
Definition at line 54 of file NeonUri.hxx.
Referenced by calculateURI(), GetHost(), and init().
|
private |
Definition at line 56 of file NeonUri.hxx.
Referenced by AppendPath(), calculateURI(), GetPath(), GetPathBaseName(), and init().
|
private |
Definition at line 55 of file NeonUri.hxx.
Referenced by calculateURI(), GetPort(), and init().
|
private |
Definition at line 52 of file NeonUri.hxx.
Referenced by calculateURI(), GetScheme(), and init().
|
private |
Definition at line 51 of file NeonUri.hxx.
Referenced by calculateURI(), GetURI(), and operator==().
|
private |
Definition at line 53 of file NeonUri.hxx.
Referenced by calculateURI(), GetUserInfo(), and init().