class RouteB[A](val regex: String, val matchGroups: Int, val parse: Int => String => Option[A], val build: A => String) extends RouteCommon[RouteB, A] with ForRouteB[A]
A fragment of a route. Can be composed with other fragments.
- Value parameters:
- matchGroups
The number of matches that
regex
will capture.
- Companion:
- object
Value members
Concrete methods
Inherited methods
Maps the captures values of the route to a case class.
Maps the captures values of the route to a case class.
- Inherited from:
- ForRouteB
Exponential map.
Exponential map.
Any A
can be turned into a B
and vice versa.
- Inherited from:
- RouteCommon