IUri Interface
Represents a parsed URI, exposing its individual components.
Syntax
Unit: Sparkle.Uri
IUri = interface(IInterface);
Methods
| Name | Description |
|---|---|
| GetAbsolutePath | Returns the absolute path component of the URI, as originally received. |
| GetAbsoluteUri | Returns the full absolute URI as a string. |
| GetAuthority | Returns the authority component of the URI. |
| GetFragment | Returns the fragment component of the URI, as originally received. |
| GetHost | Returns the host component of the URI. |
| GetPort | Returns the port number of the URI. |
| GetQuery | Returns the query component of the URI, as originally received. |
| GetScheme | Returns the URI scheme, for example http. |
| IsDefaultPort | Indicates whether the URI port is the default port for its scheme. |
Properties
| Name | Description |
|---|---|
| AbsolutePath | Gets the absolute path component of the URI. |
| AbsoluteUri | Gets the full absolute URI as a string. |
| Authority | Gets the authority component, in the form [userinfo@]host[:port]. |
| Fragment | Gets the fragment component of the URI. |
| Host | Gets the host component of the URI. |
| Port | Gets the port number of the URI, resolved to the scheme default when not explicitly specified. |
| Query | Gets the query component of the URI. |
| Scheme | Gets the URI scheme, for example http. |