implicit object bindableChar extends QueryStringBindable[Char]
- Alphabetic
- By Inheritance
- bindableChar
- QueryStringBindable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
bind(key: String, params: Map[String, Seq[String]]): Option[Either[String, Char]]
Bind a query string parameter.
Bind a query string parameter.
- key
Parameter key
- params
QueryString data
- returns
None
if the parameter was not present in the query string data. Otherwise, returnsSome
of eitherRight
of the parameter value, orLeft
of an error message if the binding failed.
- Definition Classes
- bindableChar → QueryStringBindable
-
def
javascriptUnbind: String
Javascript function to unbind in the Javascript router.
Javascript function to unbind in the Javascript router.
- Definition Classes
- QueryStringBindable
-
def
transform[B](toB: (Char) ⇒ B, toA: (B) ⇒ Char): QueryStringBindable[B]
Transform this QueryStringBindable[A] to QueryStringBindable[B]
Transform this QueryStringBindable[A] to QueryStringBindable[B]
- Definition Classes
- QueryStringBindable
-
def
unbind(key: String, value: Char): String
Unbind a query string parameter.
Unbind a query string parameter.
- key
Parameter key
- value
Parameter value.
- returns
a query string fragment containing the key and its value. E.g. "foo=42"
- Definition Classes
- bindableChar → QueryStringBindable