class PathExtractor extends AnyRef

The path extractor.

Supported data types that can be extracted from:

  • play.api.mvc.RequestHeader
  • String
  • java.net.URI
  • java.net.URL
Source
PathExtractor.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathExtractor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PathExtractor(regex: Regex, partDescriptors: Seq[PathPart.Value])

    regex

    The regex that is used to extract the raw parts.

    partDescriptors

    Descriptors saying whether each part should be decoded or not.

Value Members

  1. def unapplySeq(uri: URI): Option[List[String]]
  2. def unapplySeq(url: URL): Option[List[String]]
  3. def unapplySeq(request: RequestHeader): Option[List[String]]
  4. def unapplySeq(path: String): Option[List[String]]