final class Route[A] extends RouteCommon[Route, A]
A complete route.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Route
- RouteCommon
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- macro def caseClass[B]: Route[B]
Maps the captures values of the route to a case class.
- macro def caseClassDebug[B]: Route[B]
Same as caseClass except the code generated by the macro is printed to stdout.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def const[B](b: B)(implicit ev: =:=[A, Unit], ev2: =:=[Unit, A]): Route[B]
- Definition Classes
- RouteCommon
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def filter(f: (A) => Boolean): Route[A]
- Definition Classes
- RouteCommon
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def mapInput[B >: A](f: (B) => A): Route[B]
- Definition Classes
- RouteCommon
- final def mapParsed[B <: A](f: (A) => B): Route[B]
- Definition Classes
- RouteCommon
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def parse(path: Path): Option[A]
- def parseThen(f: (Option[A]) => Option[A]): Route[A]
- Definition Classes
- Route → RouteCommon
- def pathFor(a: A): Path
- def pmap[B](b: (A) => Option[B])(a: (B) => A): Route[B]
Prism map.
Prism map.
Some values of
Acan be turned into aBs, some fail (in which case the route is considered non-matching).All
Bs can be turned back intoAs.- Definition Classes
- Route → RouteCommon
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Route → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def xmap[B](b: (A) => B)(a: (B) => A): Route[B]
Exponential map.
Exponential map.
Any
Acan be turned into aBand vice versa.- Definition Classes
- RouteCommon
Deprecated Value Members
- 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.