toggle menu
http4k
LOCAL
jvm
switch theme
search in API
http4k-core
/
org.http4k.core
/
Uri
Uri
data
class
Uri
(
val
scheme
:
String
,
val
userInfo
:
String
,
val
host
:
String
,
val
port
:
Int
?
,
val
path
:
String
,
val
query
:
String
,
val
fragment
:
String
)
:
Comparable
<
Uri
>
Members
Members & Extensions
Constructors
Uri
Link copied to clipboard
constructor
(
scheme
:
String
,
userInfo
:
String
,
host
:
String
,
port
:
Int
?
,
path
:
String
,
query
:
String
,
fragment
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
authority
Link copied to clipboard
val
authority
:
String
fragment
Link copied to clipboard
val
fragment
:
String
host
Link copied to clipboard
val
host
:
String
path
Link copied to clipboard
val
path
:
String
port
Link copied to clipboard
val
port
:
Int
?
query
Link copied to clipboard
val
query
:
String
scheme
Link copied to clipboard
val
scheme
:
String
user
Info
Link copied to clipboard
val
userInfo
:
String
Functions
append
To
Path
Link copied to clipboard
fun
Uri
.
appendToPath
(
pathToAppend
:
String
?
)
:
Uri
authority
Link copied to clipboard
fun
authority
(
authority
:
String
)
:
Uri
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Uri
)
:
Int
extend
Link copied to clipboard
fun
Uri
.
extend
(
uri
:
Uri
)
:
Uri
fragment
Link copied to clipboard
fun
fragment
(
fragment
:
String
)
:
Uri
host
Link copied to clipboard
fun
host
(
host
:
String
)
:
Uri
path
Link copied to clipboard
fun
path
(
path
:
String
)
:
Uri
port
Link copied to clipboard
fun
port
(
port
:
Int
?
)
:
Uri
queries
Link copied to clipboard
fun
Uri
.
queries
(
)
:
Parameters
query
Link copied to clipboard
fun
query
(
query
:
String
)
:
Uri
query
Link copied to clipboard
fun
Uri
.
query
(
name
:
String
,
value
:
String
?
)
:
Uri
query
Parameters
Encoded
Link copied to clipboard
fun
Uri
.
queryParametersEncoded
(
)
:
Uri
relative
Link copied to clipboard
fun
Uri
.
relative
(
relative
:
String
)
:
Uri
fun
Uri
.
relative
(
relative
:
Uri
)
:
Uri
remove
Queries
Link copied to clipboard
fun
Uri
.
removeQueries
(
prefix
:
String
=
""
)
:
Uri
remove
Query
Link copied to clipboard
fun
Uri
.
removeQuery
(
name
:
String
)
:
Uri
scheme
Link copied to clipboard
fun
scheme
(
scheme
:
String
)
:
Uri
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
user
Info
Link copied to clipboard
fun
userInfo
(
userInfo
:
String
)
:
Uri