object IntVar extends PathVar[Int]

Integer extractor of a path variable:

Path("/user/123") match {
   case Root / "user" / IntVar(userId) => ...
Source
Path.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntVar
  2. PathVar
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def unapply(str: String): Option[Int]
    Definition Classes
    PathVar