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
Ordering
- Alphabetic
- By Inheritance
Inherited
- PathPattern
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
toString(): String
- Definition Classes
- PathPattern → AnyRef → Any