Packages

final class Route[A] extends RouteCommon[Route, A]

A complete route.

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

Instance Constructors

  1. new Route(pattern: Pattern, parseFn: (Matcher) => Option[A], buildFn: (A) => Path)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. macro def caseClass[B]: Route[B]

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

  6. macro def caseClassDebug[B]: Route[B]

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

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def const[B](b: B)(implicit ev: =:=[A, Unit], ev2: =:=[Unit, A]): Route[B]
    Definition Classes
    RouteCommon
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def filter(f: (A) => Boolean): Route[A]
    Definition Classes
    RouteCommon
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def mapInput[B >: A](f: (B) => A): Route[B]
    Definition Classes
    RouteCommon
  16. final def mapParsed[B <: A](f: (A) => B): Route[B]
    Definition Classes
    RouteCommon
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def parse(path: Path): Option[A]
  21. def parseThen(f: (Option[A]) => Option[A]): Route[A]
    Definition Classes
    RouteRouteCommon
  22. def pathFor(a: A): Path
  23. def pmap[B](b: (A) => Option[B])(a: (B) => A): Route[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
    RouteRouteCommon
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    Route → AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def xmap[B](b: (A) => B)(a: (B) => A): Route[B]

    Exponential map.

    Exponential map.

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

    Definition Classes
    RouteCommon

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from RouteCommon[Route, A]

Inherited from AnyRef

Inherited from Any

Ungrouped