c

play.api.routing.sird

PathBindableExtractor

class PathBindableExtractor[T] extends AnyRef

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

Self Type
PathBindableExtractor[T]
Source
PathBindableExtractor.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathBindableExtractor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PathBindableExtractor()(implicit pb: PathBindable[T])

Value Members

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

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

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

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

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

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