Class

io.lemonlabs.uri.dsl

UrlDsl

Related Doc: package dsl

Permalink

final class UrlDsl extends AnyVal

Value class to add DSL functionality to Urls

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UrlDsl
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UrlDsl(url: Url)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. def #(other: Url): Url

    Permalink
  3. def #(fragment: String): Url

    Permalink

    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

  4. final def ##(): Int

    Permalink
    Definition Classes
    Any
  5. def &(other: Url): Url

    Permalink
  6. def &(kv: String): Url

    Permalink

    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

  7. def &(kv: (String, Any)): Url

    Permalink

    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

  8. def &&(kv: (String, Any)): Url

    Permalink

    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

  9. def /(other: Url): Url

    Permalink
  10. def /(pp: String): Url

    Permalink

    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

  11. def /?(kv: (String, Any)): Url

    Permalink

    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

  12. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  13. def ?(other: Url): Url

    Permalink
  14. def ?(kv: String): Url

    Permalink

    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

  15. def ?(kv: (String, Any)): Url

    Permalink

    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

  16. def addParams(kvs: Iterable[(String, Any)]): Url

    Permalink

    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

  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def toString(): String

    Permalink
    Definition Classes
    Any
  21. val url: Url

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped