Class/Object

com.netaporter.uri

QueryString

Related Docs: object QueryString | package uri

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryString(params: ParamSeq)

    Permalink

Type Members

  1. type Self = QueryString

    Permalink
    Definition Classes
    QueryStringParameters

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addParam(k: String): Self

    Permalink

    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
  5. def addParam(k: String, v: Option[String]): Self

    Permalink

    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
  6. def addParam(k: String, v: String): Self

    Permalink

    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
  7. def addParams(kvs: ParamSeq): Self

    Permalink
    Definition Classes
    Parameters
  8. def addParams(other: Parameters): Self

    Permalink
    Definition Classes
    Parameters
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  12. def filterParams(f: (Param) ⇒ Boolean): Self

    Permalink

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

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

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink

    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

    Definition Classes
    Parameters
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def flatMapParams(f: (Param) ⇒ GenTraversableOnce[Param]): Self

    Permalink

    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

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

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

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

    Permalink

    Transforms each parameter name by applying the specified Function

    Transforms each parameter name by applying the specified Function

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

    Permalink

    Transforms each parameter value by applying the specified Function

    Transforms each parameter value by applying the specified Function

    Definition Classes
    Parameters
  22. def mapParams(f: (Param) ⇒ Param): Self

    Permalink

    Transforms each parameter by applying the specified Function

    Transforms each parameter by applying the specified Function

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

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

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

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

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

    Permalink
    Definition Classes
    Parameters
  29. val params: ParamSeq

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

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

    Permalink
  32. def removeAll(): Self

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

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

    Permalink

    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

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

    Permalink

    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
  36. def separator: String

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

    Permalink
    Definition Classes
    AnyRef
  38. final def wait(): Unit

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

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

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

    Permalink
    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