public class URLUtilsKt
Modifier and Type | Method and Description |
---|---|
static URLBuilder |
URLBuilder(java.lang.String urlString)
Construct
class URLBuilder from urlString |
static Url |
Url(java.lang.String urlString)
Construct
class Url from urlString |
static java.lang.String |
getFullPath(Url $receiver)
Full encoded path with query string but without domain, port and schema
|
static java.lang.String |
getHostWithPort(Url $receiver)
Host:port pair, not normalized so port is always specified even if the port is schema's default
|
static URLBuilder |
takeFrom(URLBuilder $receiver,
URLBuilder url)
Take components from another url builder
|
static URLBuilder |
takeFrom(URLBuilder $receiver,
Url url)
Take components from another url
|
public static Url Url(java.lang.String urlString)
Construct class Url
from urlString
class Url
public static URLBuilder URLBuilder(java.lang.String urlString)
Construct class URLBuilder
from urlString
class URLBuilder
public static URLBuilder takeFrom(URLBuilder $receiver, URLBuilder url)
Take components from another url builder
public static URLBuilder takeFrom(URLBuilder $receiver, Url url)
Take components from another url
public static java.lang.String getFullPath(Url $receiver)
Full encoded path with query string but without domain, port and schema
public static java.lang.String getHostWithPort(Url $receiver)
Host:port pair, not normalized so port is always specified even if the port is schema's default