case class QueryString(params: ParamSeq) extends Parameters with Product with Serializable
Date: 28/08/2013 Time: 21:22
- Alphabetic
- By Inheritance
- QueryString
- Serializable
- Serializable
- Product
- Equals
- Parameters
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
Self = QueryString
- Definition Classes
- QueryString → Parameters
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addParam(kv: Param): Self
- Definition Classes
- Parameters
-
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
-
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
-
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
-
def
addParams(kvs: ParamSeq): Self
- Definition Classes
- Parameters
-
def
addParams(other: Parameters): Self
- Definition Classes
- Parameters
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
filterParams(f: (Param) ⇒ 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
- Definition Classes
- Parameters
-
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
- Definition Classes
- Parameters
-
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
- Definition Classes
- Parameters
-
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
- Definition Classes
- Parameters
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMapParams(f: (Param) ⇒ GenTraversableOnce[Param]): 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
- Definition Classes
- Parameters
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapParamNames(f: (String) ⇒ String): Self
Transforms each parameter name by applying the specified Function
Transforms each parameter name by applying the specified Function
- Definition Classes
- Parameters
-
def
mapParamValues(f: (String) ⇒ String): Self
Transforms each parameter value by applying the specified Function
Transforms each parameter value by applying the specified Function
- Definition Classes
- Parameters
-
def
mapParams(f: (Param) ⇒ Param): Self
Transforms each parameter by applying the specified Function
Transforms each parameter by applying the specified Function
- Definition Classes
- Parameters
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
param(key: String): Option[String]
- Definition Classes
- Parameters
-
lazy val
paramMap: Map[String, Seq[String]]
- Definition Classes
- Parameters
-
def
params(key: String): Seq[Option[String]]
- Definition Classes
- Parameters
-
val
params: ParamSeq
- Definition Classes
- QueryString → Parameters
-
def
paramsToString(e: UriEncoder, charset: String): String
- Definition Classes
- Parameters
- def queryToString(c: UriConfig): String
-
def
removeAll(): Self
- Definition Classes
- Parameters
-
def
removeAll(a: Seq[String]): Self
- Definition Classes
- Parameters
-
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
- Definition Classes
- Parameters
-
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
-
def
separator: String
- Definition Classes
- QueryString → Parameters
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withParams(paramsIn: ParamSeq): QueryString
- Definition Classes
- QueryString → Parameters