}
+ // -----------------------------------------------------------------
+ std::string
+ Url::asCompleteString() const
+ {
+ // make sure, all url components are included;
+ // regardless of the current configuration...
+ ViewOptions opts(getViewOptions() +
+ ViewOption::WITH_SCHEME +
+ ViewOption::WITH_USERNAME +
+ ViewOption::WITH_PASSWORD +
+ ViewOption::WITH_HOST +
+ ViewOption::WITH_PORT +
+ ViewOption::WITH_PATH_NAME +
+ ViewOption::WITH_PATH_PARAMS +
+ ViewOption::WITH_QUERY_STR +
+ ViewOption::WITH_FRAGMENT);
+ return m_impl->asString(opts);
+ }
+
+
// -----------------------------------------------------------------
std::string
Url::asString(const ViewOptions &opts) const
std::string
asString(const ViewOptions &opts) const;
+ /**
+ * Returns a complete string representation of the Url object.
+ *
+ * This function ignores the configuration of the view options
+ * in the current object (see setViewOption()) and forces to
+ * return an string with all URL components included.
+ *
+ * \return A complete string representation of the Url object.
+ */
+ std::string
+ asCompleteString() const;
+
// -----------------
/**