case class PathPattern(parts: Seq[PathPart]) extends Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- PathPattern
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- 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.
- val parts: Seq[PathPart]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def toString(): String
- Definition Classes
- PathPattern → AnyRef → Any
A pattern for match paths, consisting of a sequence of path parts.