object RoutingRule
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RoutingRule
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class Atom[Page, Props](parse: (Path) => Option[Parsed[Page]], path: (Page) => Option[Path], action: (Path, Page) => Option[Action[Page]]) extends RoutingRule[Page, Props] with Product with Serializable
- parse
Attempt to parse a given path.
- path
Attempt to determine the path for some page.
- action
Attempt to determine the action when a route resolves to some page.
- final case class AutoCorrect[Page, Props](underlying: RoutingRule[Page, Props], redirectVia: SetRouteVia) extends RoutingRule[Page, Props] with Product with Serializable
- final case class Conditional[Page, Props](condition: CallbackTo[Boolean], underlying: RoutingRule[Page, Props], otherwise: (Page) => Option[Action[Page]]) extends RoutingRule[Page, Props] with Product with Serializable
- final case class ConditionalP[Page, Props](condition: (Page) => CallbackTo[Boolean], underlying: RoutingRule[Page, Props], otherwise: (Page) => Option[Action[Page]]) extends RoutingRule[Page, Props] with Product with Serializable
- final case class Or[Page, Props](lhs: RoutingRule[Page, Props], rhs: RoutingRule[Page, Props]) extends RoutingRule[Page, Props] with Product with Serializable
- final case class WithFallback[Page, Props](rule: RoutingRule[Page, Props], fallbackPath: (Page) => Path, fallbackAction: (Path, Page) => Action[Page]) extends Product with Serializable
Exhaustive routing rules.
Exhaustive routing rules. For all
Pages there arePaths andActions.
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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def empty[P, C]: RoutingRule[P, C]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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 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 parseOnly[Page, C](parse: (Path) => Option[Parsed[Page]]): Atom[Page, C]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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])
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.