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 );
292 static bool schemeIsPlugin(
const std::string & scheme_r );
345 asCompleteString()
const;
368 getAuthority()
const;
394 {
return ! ( getUsername().empty() || getPassword().empty() ); }
448 getPathParams()
const;
463 getPathParamsVec()
const;
504 getPathParam(
const std::string ¶m,
519 getQueryString()
const;
535 getQueryStringVec()
const;
575 getQueryParam(
const std::string ¶m,
599 setScheme(
const std::string &scheme);
617 setAuthority(
const std::string &authority);
629 setUsername(
const std::string &user,
642 setPassword(
const std::string &pass,
666 setHost(
const std::string &host);
676 setPort(
const std::string &port);
691 setPathData(
const std::string &pathdata);
701 setPathName(
const std::string &path,
709 setPathName(
const char *path,
720 void pathNameSetTrailingSlash(
bool apply_r =
true );
729 setPathParams(
const std::string ¶ms);
759 setPathParam(
const std::string ¶m,
const std::string &value);
770 setQueryString(
const std::string &querystr);
800 setQueryParam(
const std::string ¶m,
const std::string &value);
811 delQueryParam(
const std::string ¶m);
815 delQueryParams(
const std::set<std::string> ¶ms);
827 setFragment(
const std::string &fragment,
841 getViewOptions()
const;
std::string asString(const Patch::Category &obj)
std::map< std::string, std::string > ParamMap
A parameter map container.
String related utilities and Regular expression matching.
bool hasCredentialsInAuthority() const
Returns true if username and password are encoded in the authority component.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
bool operator==(const SetRelation::Enum &lhs, const SetCompare &rhs)
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_armv7hnl Arch_armv7nhl ZYPP_API
bool schemeIsVolatile() const
std::string asString(const Url &url_r)
std::vector< std::string > UrlSchemes
Vector of URL scheme names.
bool operator!=(const SetRelation::Enum &lhs, const SetCompare &rhs)
bool schemeIsRemote() const
bool schemeIsDownloading() const
bool operator<(const StrMatcher &lhs, const StrMatcher &rhs)
Easy-to use interface to the ZYPP dependency resolver.
Flag to request decoded string(s).
bool schemeIsLocal() const