bindableChar

play.api.mvc.PathBindable.bindableChar
object bindableChar extends PathBindable[Char]

Path binder for Char.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

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

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

def unbind(key: String, value: Char): String

Unbind a URL path parameter.

Unbind a URL path parameter.

Value parameters

key

Parameter key

value

Parameter value.

Attributes

Inherited methods

Javascript function to unbind in the Javascript router.

Javascript function to unbind in the Javascript router.

Attributes

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

Transform this PathBinding[A] to PathBinding[B]

Transform this PathBinding[A] to PathBinding[B]

Attributes

Inherited from:
PathBindable