Packages

c

play.core.routing

PathPattern

case class PathPattern(parts: Seq[PathPart]) extends Product with Serializable

A pattern for match paths, consisting of a sequence of path parts.

Source
PathPattern.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathPattern
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PathPattern(parts: Seq[PathPart])

Value Members

  1. def apply(path: String): Option[Map[String, Either[Throwable, String]]]

    Apply the path pattern to a given candidate path to see if it matches.

    Apply the path pattern to a given candidate path to see if it matches.

    path

    The path to match against.

    returns

    The map of extracted parameters, or none if the path didn't match.

  2. val parts: Seq[PathPart]
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. def toString(): String
    Definition Classes
    PathPattern → AnyRef → Any