Url
data class Url
Represents an immutable URL
Constructors
Url( Represents an immutable URL |
Properties
val encodedPath: String encoded path without query string |
|
val fragment: String URL fragment (anchor name) |
|
val host: String name without port (domain) |
|
val parameters: Parameters URL query parameters |
|
val password: String? password part of URL |
|
val port: Int the specified port or protocol default port |
|
val protocol: URLProtocol |
|
val specifiedPort: Int port number that was specified to override protocol’s default |
|
val trailingQuery: Boolean keep trailing question character even if there are no query parameters |
|
val user: String? username part of URL |
Functions
fun toString(): String |
Extension Properties
Url authority. |
|
Full encoded path with query string but without domain, port and schema |
|
Host:port pair, not normalized so port is always specified even if the port is schema’s default |