uriComponentsOf

fun uriComponentsOf(    scheme: String,     host: String,     path: List<String>,     search: Map<String, String> = emptyMap(),     hash: String = ""): UriComponents

Creates URI components