com.netaporter.uri.dsl

UriDsl

final class UriDsl extends AnyVal

Value class to add DSL functionality to Uris

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UriDsl
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UriDsl(uri: Uri)

    uri

Value Members

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

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

  3. def #(fragment: String): Uri

    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

    Definition Classes
    Any
  5. def &(other: Uri): Uri

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

    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

  8. def /(pp: String): Uri

    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

    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

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

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

    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

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

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

    Definition Classes
    Any
  16. def toString(): String

    Definition Classes
    Any
  17. val uri: Uri

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped