Class

com.netaporter.uri.dsl

UriDsl

Related Doc: package dsl

Permalink

final class UriDsl extends AnyVal

Value class to add DSL functionality to Uris

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UriDsl
  2. AnyVal
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UriDsl(uri: Uri)

    Permalink

Value Members

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

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

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

    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: Uri): Uri

    Permalink
  6. def &(kv: (String, Any)): Uri

    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 not be rendered in calls to toString or toStringRaw

    kv

    Tuple2 representing the query string parameter

    returns

    A new Uri with the new Query String parameter

  7. def /(other: Uri): Uri

    Permalink
  8. def /(pp: String): Uri

    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

  9. def /?(kv: (String, Any)): Uri

    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 not be rendered in calls to toString or toStringRaw

    kv

    Tuple2 representing the query string parameter

    returns

    A new Uri with the new Query String parameter

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

    Permalink
    Definition Classes
    Any
  11. def ?(other: Uri): Uri

    Permalink
  12. def ?(kv: (String, Any)): Uri

    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 not be rendered in calls to toString or toStringRaw

    kv

    Tuple2 representing the query string parameter

    returns

    A new Uri with the new Query String parameter

  13. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    Any
  17. val uri: Uri

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped