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)(implicit config: UriConfig = UriConfig.default): Uri

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

  8. def /(other: Uri): Uri

    Permalink
  9. 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

  10. 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

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

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

    Permalink
  13. def ?(kv: String)(implicit config: UriConfig = UriConfig.default): Uri

    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

  14. 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

  15. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    Any
  19. val uri: Uri

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped