TypesafeUrlDsl

io.lemonlabs.uri.typesafe.dsl.TypesafeUrlDsl
final class TypesafeUrlDsl extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def &[A : QueryKeyValue](a: A): Url

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

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

Attributes

a

Value which provides the key and the value for query parameter

Returns:

A new Uri with the new Query String parameter

def &[A : QueryKey, B : QueryValue](a: A, b: B): Url

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

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

Attributes

a

Value which provides the key and the value for query parameter

Returns:

A new Uri with the new Query String parameter

def &(other: Url): Url
def &&[A : QueryKeyValue](a: A): Url

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

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

Attributes

a

Value which provides the key and the value for query parameter

Returns:

A new Uri with the new Query String parameter

def &&[A : QueryKey, B : QueryValue](a: A, b: B): Url

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

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

Attributes

a

Value which provides the key and the value for query parameter

Returns:

A new Uri with the new Query String parameter

def /[A : TraversablePathParts](a: A): Url

Appends path parts to the path of this URI

Appends path parts to the path of this URI

Attributes

a

The path part

Returns:

A new Uri with these path parts appended

def /(other: Url): Url
def /?[A : QueryKeyValue](a: A): Url

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

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

Attributes

a

Value which provides the key and the value for query parameter

Returns:

A new Uri with the new Query String parameter

def /?[A : QueryKey, B : QueryValue](a: A, b: B): Url

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

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

Attributes

a

Value which provides the key and the value for query parameter

Returns:

A new Uri with the new Query String parameter

def ?[A : QueryKeyValue](a: A): Url

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

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

Attributes

a

Value which provides the key and the value for query parameter

Returns:

A new Uri with the new Query String parameter

def ?[A : QueryKey, B : QueryValue](a: A, b: B): Url

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

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

Attributes

a

Value which provides the key and the value for query parameter

Returns:

A new Uri with the new Query String parameter

def ?(other: Url): Url
def `#`[A : Fragment](a: A): Url

Adds a fragment to the end of the uri

Adds a fragment to the end of the uri

Attributes

a

Value representing the fragment

Returns:

A new Uri with this fragment

def `#`(other: Url): Url

Concrete fields

val url: Url