HttpAddress

open class HttpAddress

Encapsulates a parsed HTTP URL.

See Also:

RFC 3986.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var path: String?
Link copied to clipboard
var port: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun pathAndQuery(): String

Return the path and query portions of the address, e.g. "/mypath?myquery".

Link copied to clipboard

If this address is absolute, then return it. If this address is relative, then apply it to other and rerturn the resulting address.

Link copied to clipboard

Return the scheme and authority portions of the address, e.g. "http://myhost:8080".

Link copied to clipboard
open override fun toString(): String

Return the URL in string form, e.g. "http://myhost:8080/path?query#fragment".