com.netaporter.uri

QueryString

case class QueryString(params: ParamSeq) extends Parameters with Product with Serializable

Date: 28/08/2013 Time: 21:22

Linear Supertypes
Serializable, Serializable, Product, Equals, Parameters, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QueryString
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Parameters
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryString(params: ParamSeq)

Type Members

  1. type Self = QueryString

    Definition Classes
    QueryStringParameters

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addParam(k: String): Self

    Adds a new parameter key with no value.

    Adds a new parameter key with no value. If the value for the parameter is None, then this parameter will not be rendered

    returns

    A new instance with the new parameter added

    Definition Classes
    Parameters
  7. def addParam(k: String, v: Option[String]): Self

    Adds a new parameter key-value pair.

    Adds a new parameter key-value pair. If the value for the parameter is None, then this parameter will be rendered without an = sign (use Some("") if this is not what you want).

    returns

    A new instance with the new parameter added

    Definition Classes
    Parameters
  8. def addParam(k: String, v: String): Self

    Adds a new parameter key-value pair.

    Adds a new parameter key-value pair.

    returns

    A new instance with the new parameter added

    Definition Classes
    Parameters
  9. def addParams(kvs: ParamSeq): Self

    Definition Classes
    Parameters
  10. def addParams(other: Parameters): Self

    Definition Classes
    Parameters
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def filterParams(f: ((String, Option[String])) ⇒ Boolean): Self

    Filters out just the parameters for which the provided function holds true

    Filters out just the parameters for which the provided function holds true

    f
    returns

    Definition Classes
    Parameters
  15. def filterParamsNames(f: (String) ⇒ Boolean): Self

    Filters out just the parameters for which the provided function holds true when applied to the parameter name

    Filters out just the parameters for which the provided function holds true when applied to the parameter name

    f
    returns

    Definition Classes
    Parameters
  16. def filterParamsOptions(f: (Option[String]) ⇒ Boolean): Self

    Filters out just the parameters for which the provided function holds true when applied to the parameter value

    Filters out just the parameters for which the provided function holds true when applied to the parameter value

    f
    returns

    Definition Classes
    Parameters
  17. def filterParamsValues(f: (String) ⇒ Boolean): Self

    Filters out just the parameters for which the provided function holds true when applied to the parameter value

    Filters out just the parameters for which the provided function holds true when applied to the parameter value

    f
    returns

    Definition Classes
    Parameters
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flatMapParams(f: ((String, Option[String])) ⇒ GenTraversableOnce[(String, Option[String])]): Self

    Transforms each parameter by applying the specified Function

    Transforms each parameter by applying the specified Function

    f

    A function that returns a collection of Parameters when applied to each parameter

    returns

    Definition Classes
    Parameters
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def mapParamNames(f: (String) ⇒ String): Self

    Transforms each parameter name by applying the specified Function

    Transforms each parameter name by applying the specified Function

    f
    returns

    Definition Classes
    Parameters
  23. def mapParamValues(f: (String) ⇒ String): Self

    Transforms each parameter value by applying the specified Function

    Transforms each parameter value by applying the specified Function

    f
    returns

    Definition Classes
    Parameters
  24. def mapParams(f: ((String, Option[String])) ⇒ (String, Option[String])): Self

    Transforms each parameter by applying the specified Function

    Transforms each parameter by applying the specified Function

    f
    returns

    Definition Classes
    Parameters
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def param(key: String): Option[String]

    Definition Classes
    Parameters
  29. lazy val paramMap: Map[String, Seq[String]]

    Definition Classes
    Parameters
  30. def params(key: String): Seq[Option[String]]

    Definition Classes
    Parameters
  31. val params: ParamSeq

    Definition Classes
    QueryStringParameters
  32. def paramsToString(e: UriEncoder, charset: String): String

    Definition Classes
    Parameters
  33. def queryToString(c: UriConfig): String

  34. def removeAll(): Self

    Definition Classes
    Parameters
  35. def removeAll(a: Seq[String]): Self

    Definition Classes
    Parameters
  36. def removeAll(k: String): Self

    Removes all Query String parameters with the specified key

    Removes all Query String parameters with the specified key

    k

    Key for the Query String parameter(s) to remove

    returns

    Definition Classes
    Parameters
  37. def replaceAll(k: String, vOpt: Option[Any]): Self

    Replaces the all existing Query String parameters with the specified key with a single Query String parameter with the specified value.

    Replaces the all existing Query String parameters with the specified key with a single Query String parameter with the specified value.

    k

    Key for the Query String parameter(s) to replace

    vOpt

    value to replace with

    returns

    A new QueryString with the result of the replace

    Definition Classes
    Parameters
  38. def separator: String

    Definition Classes
    QueryStringParameters
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def withParams(paramsIn: ParamSeq): QueryString

    Definition Classes
    QueryStringParameters

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Parameters

Inherited from AnyRef

Inherited from Any

Ungrouped