Packages

class RouteB[A] extends RouteCommon[RouteB, A]

A fragment of a route. Can be composed with other fragments.

Linear Supertypes
RouteCommon[RouteB, A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouteB
  2. RouteCommon
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RouteB(regex: String, matchGroups: Int, parse: ((Int) ⇒ String) ⇒ Option[A], build: (A) ⇒ String)

    matchGroups

    The number of matches that regex will capture.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def /[B](next: RouteB[B])(implicit c: Composition[A, B]): RouteB[C]
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val build: (A) ⇒ String
  7. macro def caseClass[B]: RouteB[B]

    Maps the captures values of the route to a case class.

  8. macro def caseClassDebug[B]: RouteB[B]

    Same as caseClass except the code generated by the macro is printed to stdout.

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. final def const[B](b: B)(implicit ev: =:=[A, Unit], ev2: =:=[Unit, A]): RouteB[B]
    Definition Classes
    RouteCommon
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def filter(f: (A) ⇒ Boolean): RouteB[A]
    Definition Classes
    RouteCommon
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def mapInput[B >: A](f: (B) ⇒ A): RouteB[B]
    Definition Classes
    RouteCommon
  19. final def mapParsed[B <: A](f: (A) ⇒ B): RouteB[B]
    Definition Classes
    RouteCommon
  20. val matchGroups: Int
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def option: RouteB[Option[A]]
  25. val parse: ((Int) ⇒ String) ⇒ Option[A]
  26. def parseThen(f: (Option[A]) ⇒ Option[A]): RouteB[A]
    Definition Classes
    RouteBRouteCommon
  27. def pmap[B](b: (A) ⇒ Option[B])(a: (B) ⇒ A): RouteB[B]

    Prism map.

    Prism map.

    Some values of A can be turned into a Bs, some fail (in which case the route is considered non-matching).

    All Bs can be turned back into As.

    Definition Classes
    RouteBRouteCommon
  28. val regex: String
  29. final def route: Route[A]
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    RouteB → AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  35. final def xmap[B](b: (A) ⇒ B)(a: (B) ⇒ A): RouteB[B]

    Exponential map.

    Exponential map.

    Any A can be turned into a B and vice versa.

    Definition Classes
    RouteCommon
  36. def ~[B](next: RouteB[B])(implicit c: Composition[A, B]): RouteB[C]

Inherited from RouteCommon[RouteB, A]

Inherited from AnyRef

Inherited from Any

Ungrouped