PathBindableExtractor

play.api.routing.sird.PathBindableExtractor
class PathBindableExtractor[T](implicit pb: PathBindable[T])

An extractor that extracts from a String using a play.api.mvc.PathBindable.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def unapply(s: String): Option[T]

Extract s to T if it can be bound, otherwise don't match.

Extract s to T if it can be bound, otherwise don't match.

Attributes

Extract Option[T] only if s is None, Some value that can be bound, otherwise don't match.

Extract Option[T] only if s is None, Some value that can be bound, otherwise don't match.

Attributes

def unapply(s: Seq[String]): Option[Seq[T]]

Extract Seq[T] only if ever element of s can be bound, otherwise don't match.

Extract Seq[T] only if ever element of s can be bound, otherwise don't match.

Attributes