222 uri& operator =(
const uri&) =
default;
289 uri(
const uri& base_uri,
const uri& relative_uri);
387 bool is_absolute_uri()
const;
392 bool is_default_port()
const;
398 bool is_file()
const;
404 bool is_loopback()
const;
494 std::vector<xtd::ustring>
segments()
const;
541 static int32 from_hex(
char digit);
587 static char hex_unescape(
const xtd::ustring& pattern,
size_t& index);
614 static bool is_hex_digit(
char character);
621 static bool is_hex_encoding(
const xtd::ustring& pattern,
size_t index);
638 bool is_well_formed_original_string();
665 bool equals(
const xtd::uri&
uri)
const noexcept
override;
676 static
bool need_to_escape_data_char(
char character);
677 static
bool need_to_escape_uri_char(
char character);
The xtd::uri::local_path and xtd::uri::query data. Also see xtd::uri::path_and_query.
Contains xtd::uri_host_name_type enum.
Contains xtd::iequatable interface.
uri_format
Controls how URI information is escaped.
Definition: uri_format.h:17
uri_host_name_type
Defines host name types for the xtd::uri::check_host_name method.
Definition: uri_host_name_type.h:15
Contains xtd::uri_partial enum.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::uri_components enum.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
uri_components
This enumeration has a Flags attribute that allows a bitwise combination of its member values...
Definition: uri_components.h:15
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1063
The xtd::uri::query data.
uri_kind
Defines the kinds of Uris for the xtd::uri::is_well_formed_uri_string and several xtd::uri methods...
Definition: uri_kind.h:19
The xtd::uri::scheme data.
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition: iequatable.h:18
uri_partial
Defines the parts of a URI for the xtd::uri::get_left_part method.
Definition: uri_partial.h:15
Contains xtd::ustring class.
The scheme and authority segments of the URI.
The xtd::uri::user_info data.
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts...
Definition: uri.h:103
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129
The xtd::uri is an absolute xtd::uri.
The xtd::uri::scheme, xtd::uri::user_info, xtd::uri::host, port, xtd::uri::local_path, xtd::uri::query, and xtd::uri::fragment data.
The xtd::uri::fragment data.
Contains xtd::uri_kind enum.