25 namespace hotfix1050625 {
26 std::string
asString(
const Url & url_r );
31 using filesystem::Pathname;
148 Url(
const std::string &encodedUrl);
154 Url(
Url &&other) =
default;
175 parseUrl(
const std::string &encodedUrl);
194 operator = (
const std::string &encodedUrl);
208 operator = (
const Url &url);
214 Url &operator=(
Url &&other) =
default;
226 registerScheme(
const std::string &scheme,
234 getRegisteredSchemes();
241 isRegisteredScheme(
const std::string &scheme);
250 getKnownSchemes()
const;
268 isValidScheme(
const std::string &scheme)
const;
272 static bool schemeIsLocal(
const std::string & scheme_r );
277 static bool schemeIsRemote(
const std::string & scheme_r );
282 static bool schemeIsVolatile(
const std::string & scheme_r );
287 static bool schemeIsDownloading(
const std::string & scheme_r );
288 static bool schemeIsHttpLike(
const std::string & scheme_r );
289 static bool schemeIsFtpLike(
const std::string & scheme_r );
296 static bool schemeIsPlugin(
const std::string & scheme_r );
349 asCompleteString()
const;
372 getAuthority()
const;
398 {
return ! ( getUsername().empty() || getPassword().empty() ); }
452 getPathParams()
const;
467 getPathParamsVec()
const;
508 getPathParam(
const std::string ¶m,
523 getQueryString()
const;
539 getQueryStringVec()
const;
579 getQueryParam(
const std::string ¶m,
603 setScheme(
const std::string &scheme);
621 setAuthority(
const std::string &authority);
633 setUsername(
const std::string &user,
646 setPassword(
const std::string &pass,
670 setHost(
const std::string &host);
680 setPort(
const std::string &port);
695 setPathData(
const std::string &pathdata);
705 setPathName(
const std::string &path,
713 setPathName(
const char *path,
724 void pathNameSetTrailingSlash(
bool apply_r =
true );
733 setPathParams(
const std::string ¶ms);
763 setPathParam(
const std::string ¶m,
const std::string &value);
774 setQueryString(
const std::string &querystr);
804 setQueryParam(
const std::string ¶m,
const std::string &value);
815 delQueryParam(
const std::string ¶m);
819 delQueryParams(
const std::set<std::string> ¶ms);
831 setFragment(
const std::string &fragment,
845 getViewOptions()
const;
bool operator==(const Capability &lhs, const Capability &rhs)
relates: Capability
std::map< std::string, std::string > ParamMap
A parameter map container.
std::string asString(const Patch::Category &obj)
relates: Patch::Category string representation.
String related utilities and Regular expression matching.
bool hasCredentialsInAuthority() const
Returns true if username and password are encoded in the authority component.
std::vector< std::string > ParamVec
A parameter vector container.
Url::asString() view options.
ViewOption ViewOptions
ViewOptions is just an alias for ViewOption.
bool schemeIsPlugin() const
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
bool schemeIsVolatile() const
bool operator!=(const Capability &lhs, const Capability &rhs)
relates: Capability
std::string asString(const Url &url_r)
std::vector< std::string > UrlSchemes
Vector of URL scheme names.
bool schemeIsRemote() const
bool schemeIsDownloading() const
bool schemeIsHttpLike() const
bool operator<(const Capability &lhs, const Capability &rhs)
relates: Capability Arbitrary order.
std::ostream & operator<<(std::ostream &str, const Capabilities &obj)
relates: Capabilities Stream output
bool schemeIsFtpLike() const
Easy-to use interface to the ZYPP dependency resolver.
Flag to request decoded string(s).
bool schemeIsLocal() const