PathExtractor

play.api.routing.sird.PathExtractor
See thePathExtractor companion object
class PathExtractor(regex: Regex, partDescriptors: Seq[Value])

The path extractor.

Supported data types that can be extracted from:

  • play.api.mvc.RequestHeader
  • String
  • java.net.URI
  • java.net.URL

Value parameters

partDescriptors

Descriptors saying whether each part should be decoded or not.

regex

The regex that is used to extract the raw parts.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def unapplySeq(url: URL): Option[List[String]]
def unapplySeq(uri: URI): Option[List[String]]