PathBindable

play.api.mvc.PathBindable
See thePathBindable companion trait

Default binders for URL path part.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class Parsing[A](parse: String => A, serialize: A => String, error: (String, Exception) => String) extends PathBindable[A]

A helper class for creating PathBindables to map the value of a path pattern/segment

A helper class for creating PathBindables to map the value of a path pattern/segment

Type parameters

A

the type being parsed

Value parameters

error

a function for rendering an error message if an error occurs

parse

a function to parse the path value

serialize

a function to serialize the path value to a string

Attributes

Supertypes
trait PathBindable[A]
class Object
trait Matchable
class Any
Known subtypes
object bindableBoolean.type
object bindableDouble.type
object bindableFloat.type
object bindableInt.type
object bindableLong.type
object bindableString.type
object bindableUUID.type
Show all
object bindableBoolean extends Parsing[Boolean]

Path binder for Boolean.

Path binder for Boolean.

Attributes

Supertypes
class Parsing[Boolean]
class Object
trait Matchable
class Any
Self type
object bindableChar extends PathBindable[Char]

Path binder for Char.

Path binder for Char.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object bindableDouble extends Parsing[Double]

Path binder for Double.

Path binder for Double.

Attributes

Supertypes
class Parsing[Double]
class Object
trait Matchable
class Any
Self type
object bindableFloat extends Parsing[Float]

Path binder for Float.

Path binder for Float.

Attributes

Supertypes
class Parsing[Float]
class Object
trait Matchable
class Any
Self type
object bindableInt extends Parsing[Int]

Path binder for Int.

Path binder for Int.

Attributes

Supertypes
class Parsing[Int]
trait PathBindable[Int]
class Object
trait Matchable
class Any
Self type
object bindableLong extends Parsing[Long]

Path binder for Long.

Path binder for Long.

Attributes

Supertypes
class Parsing[Long]
class Object
trait Matchable
class Any
Self type
object bindableString extends Parsing[String]

Path binder for String.

Path binder for String.

Attributes

Supertypes
class Parsing[String]
class Object
trait Matchable
class Any
Self type
object bindableUUID extends Parsing[UUID]

Path binder for java.util.UUID.

Path binder for java.util.UUID.

Attributes

Supertypes
class Parsing[UUID]
trait PathBindable[UUID]
class Object
trait Matchable
class Any
Self type

Implicits

Implicits

implicit def bindableCharacter: PathBindable[Character]

Path binder for Java Character.

Path binder for Java Character.

Attributes

implicit def bindableJavaBoolean: PathBindable[Boolean]

Path binder for Java Boolean.

Path binder for Java Boolean.

Attributes

implicit def bindableJavaDouble: PathBindable[Double]

Path binder for Java Double.

Path binder for Java Double.

Attributes

implicit def bindableJavaFloat: PathBindable[Float]

Path binder for Java Float.

Path binder for Java Float.

Attributes

implicit def bindableJavaInteger: PathBindable[Integer]

Path binder for Java Integer.

Path binder for Java Integer.

Attributes

implicit def bindableJavaLong: PathBindable[Long]

Path binder for Java Long.

Path binder for Java Long.

Attributes

implicit def javaPathBindable[T <: PathBindable[LazyRef(...)]](implicit ct: ClassTag[T]): PathBindable[T]

Path binder for Java PathBindable

Path binder for Java PathBindable

Attributes

Inherited implicits

implicit inline def anyValPathBindable[T <: AnyVal]: PathBindable[T]

Path binder for AnyVal

Path binder for AnyVal

Attributes

Inherited from:
PathBindableMacros