optional Uri Scheme. eg, http, https
optional Uri Authority. eg, localhost:8080, www.foo.bar
url-encoded string representation of the path component of the Uri.
optional Query. url-encoded.
optional Uri Fragment. url-encoded.
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withQueryParam
alias for withOptionQueryParam
alias for withOptionQueryParam
alias for withOptionQueryParam
alias for withOptionQueryParam
alias for withMaybeQueryParam
alias for withMaybeQueryParam
alias for withMaybeQueryParam
alias for withMaybeQueryParam
alias for removeQueryParam
alias for removeQueryParam
alias for removeQueryParam
alias for removeQueryParam
alias for setQueryParams
alias for setQueryParams
alias for containsQueryParam
alias for containsQueryParam
optional Uri Authority.
optional Uri Authority. eg, localhost:8080, www.foo.bar
Checks if a specified parameter exists in the Query.
optional Uri Fragment.
optional Uri Fragment. url-encoded.
Representation of the query string as a map
Representation of the query string as a map
In case a parameter is available in query string but no value is there the sequence will be empty. If the value is empty the the sequence contains an empty string.
Query String | Map |
---|---|
?param=v | Map("param" -> Seq("v")) |
?param= | Map("param" -> Seq("")) |
?param | Map("param" -> Seq()) |
?=value | Map("" -> Seq("value")) |
?p1=v1&p1=v2&p2=v3&p2=v3 | Map("p1" -> Seq("v1","v2"), "p2" -> Seq("v3","v4")) |
The query string is lazily parsed. If an error occurs during parsing
an empty Map
is returned.
View of the head elements of the URI parameters in query string.
View of the head elements of the URI parameters in query string.
In case a parameter has no value the map returns an empty string.
multiParams
url-encoded string representation of the path component of the Uri.
optional Query.
Creates maybe a new Self
without the specified parameter in query.
Creates maybe a new Self
without the specified parameter in query.
If no parameter with the given key
exists then this
will be
returned.
Base method for rendering this object efficiently
Base method for rendering this object efficiently
Generates a String rendering of this object
Generates a String rendering of this object
optional Uri Scheme.
optional Uri Scheme. eg, http, https
Creates maybe a new Self
with the specified parameters.
Creates maybe a new Self
with the specified parameter in the Query.
Creates maybe a new Self
with the specified parameter in the Query.
Creates maybe a new Self
with the specified parameter in the Query.
Creates maybe a new Self
with the specified parameter in the Query.
Creates maybe a new Self
with the specified parameters in the Query.
Creates maybe a new Self
with the specified parameter in the Query.
Creates a new Self
with the specified parameter in the Query.
Creates a new Self
with the specified parameter in the Query.
Representation of the Request URI
optional Uri Scheme. eg, http, https
optional Uri Authority. eg, localhost:8080, www.foo.bar
url-encoded string representation of the path component of the Uri.
optional Query. url-encoded.
optional Uri Fragment. url-encoded.