bindableDouble

play.api.mvc.PathBindable.bindableDouble
object bindableDouble extends Parsing[Double]

Path binder for Double.

Attributes

Graph
Supertypes
class Parsing[Double]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def bind(key: String, value: String): Either[String, A]

Bind an URL path parameter.

Bind an URL path parameter.

Value parameters

key

Parameter key

value

The value as String (extracted from the URL path)

Attributes

Returns

Right of the value or Left of an error message if the binding failed

Inherited from:
Parsing

Javascript function to unbind in the Javascript router.

Javascript function to unbind in the Javascript router.

Attributes

Inherited from:
PathBindable
def transform[B](toB: Double => B, toA: B => Double): PathBindable[B]

Transform this PathBinding[A] to PathBinding[B]

Transform this PathBinding[A] to PathBinding[B]

Attributes

Inherited from:
PathBindable
def unbind(key: String, value: Double): String

Unbind a URL path parameter.

Unbind a URL path parameter.

Value parameters

key

Parameter key

value

Parameter value.

Attributes

Inherited from:
Parsing