AbsoluteUrl

Represents an absolute Uniform Resource Locator.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Extension of the filename portion of the URL path.

Link copied to clipboard

Decoded filename portion of the URL path.

Link copied to clipboard

Returns the decoded fragment present in this URL, if any.

Link copied to clipboard

Indicates whether this URL points to an Android content resource.

Link copied to clipboard

Indicates whether this URL points to a file.

Link copied to clipboard

Indicates whether this URL points to a HTTP resource.

Link copied to clipboard
val path: String?

Decoded path segments identifying a location.

Link copied to clipboard

Returns the decoded query parameters present in this URL, in the order they appear.

Link copied to clipboard

Identifies the type of URL.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Returns whether two URLs are strictly equal, by comparing their string representation.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Returns whether the receiver is equivalent to the given url after normalization.

Link copied to clipboard

Returns whether the receiver is equivalent to the given url after normalization.

Link copied to clipboard
open override fun normalize(): AbsoluteUrl

Normalizes the URL using a subset of the RFC-3986 rules.

Link copied to clipboard
open fun relativize(url: Url): Url

Relativizes the given url against this URL.

Link copied to clipboard

Returns a copy of this URL after dropping its fragment.

Link copied to clipboard

Returns a copy of this URL after dropping its query.

Link copied to clipboard
open override fun resolve(url: Url): AbsoluteUrl

Resolves the given url to this URL.

Link copied to clipboard
fun toFile(): File?

Converts the URL to a File, if it's a file URL.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun Url.toUri(): Uri
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)