final class UrlDsl extends AnyVal
Value class to add DSL functionality to Urls
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- Alphabetic
- By Inheritance
- UrlDsl
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any
- val url: Url
Deprecated Value Members
- def #(other: Url): Url
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def #(fragment: String): Url
Adds a fragment to the end of the uri
Adds a fragment to the end of the uri
- fragment
String representing the fragment
- returns
A new Uri with this fragment
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def &(other: Url): Url
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def &(kv: String): Url
Adds a new Query String.
Adds a new Query String. The specified String is parsed as a Query String param.
- returns
A new Uri with the new Query String parameter
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def &(kv: (String, Any)): Url
Adds a new Query String parameter key-value pair.
Adds a new Query String parameter key-value pair. If the value for the Query String parameter is None, then this Query String parameter will be rendered without a value e.g.
?param
as opposed to?param=value
- kv
Tuple2 representing the query string parameter
- returns
A new Uri with the new Query String parameter
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def &&(kv: (String, Any)): Url
Maybe adds a new Query String parameter key-value pair.
Maybe adds a new Query String parameter key-value pair. If the value for the Query String parameter is None, then this Query String parameter will not be added, otherwise it will be added
- kv
Tuple2 representing the query string parameter
- returns
A new Uri with the new Query String parameter
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def /(other: Url): Url
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def /(pp: String): Url
Appends a path part to the path of this URI
Appends a path part to the path of this URI
- pp
The path part
- returns
A new Uri with this path part appended
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def /?(kv: (String, Any)): Url
Adds a trailing forward slash to the path and a new Query String parameter key-value pair.
Adds a trailing forward slash to the path and a new Query String parameter key-value pair. If the value for the Query String parameter is None, then this Query String parameter will be rendered without a value e.g.
?param
as opposed to?param=value
- kv
Tuple2 representing the query string parameter
- returns
A new Uri with the new Query String parameter
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def ?(other: Url): Url
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def ?(kv: String): Url
Adds a new Query String.
Adds a new Query String. The specified String is parsed as a Query String param.
- returns
A new Uri with the new Query String parameter
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def ?(kv: (String, Any)): Url
Adds a new Query String parameter key-value pair.
Adds a new Query String parameter key-value pair. If the value for the Query String parameter is None, then this Query String parameter will be rendered without a value e.g.
?param
as opposed to?param=value
- kv
Tuple2 representing the query string parameter
- returns
A new Uri with the new Query String parameter
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information
- def addParams(kvs: Iterable[(String, Any)]): Url
Adds all the specified key-value pairs as parameters to the query
Adds all the specified key-value pairs as parameters to the query
- kvs
A list of key-value pairs to add as query parameters
- returns
A new Url with the new Query String parameters
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Please migrate to the typesafe DSL in the io.lemonlabs.uri.typesafe.dsl package. See https://github.com/lemonlabsuk/scala-uri#typesafe-url-builder-dsl for more information